cleanup in lisp/Makefile, targets; create org-fixup.el, remove version definition
commitdf89e3cd0c7c949cd84b538dcd62e1b83a090e2a
authorAchim Gratz <Stromeko@Stromeko.DE>
Sat, 28 Apr 2012 17:24:39 +0000 (28 19:24 +0200)
committerBastien Guerry <bzg@altern.org>
Fri, 18 May 2012 05:45:44 +0000 (18 07:45 +0200)
tree0540ace1f5fcbf5d6e9dbf9057d7cfb5556a4798
parent4f60b5f3a525e1fee299c5222b779bb2a24fc666
cleanup in lisp/Makefile, targets; create org-fixup.el, remove version definition

* UTILITIES/org-fixup.el: new file, has functions to create
  org-version.el and org-install.el, now use by the build system.

* lisp/Makefile: delete said definitions, now sourced from toplevel
  make.  "clean" and "cleanall" should do the same thing here, make
  them aliases, ditto for "all" and "compile".  Both autoload files
  must be .PHONY and depend only on each other for correct ordering.
  Make "compile-dirty" actually do that again (i.e. no implied
  "clean", but "cleanauto").  Remove autoload files directly after
  install, so that they will only be present when explicitly requested
  by "autoloads".  Create "org-version.el" before compilation as it is
  mandatory.  Remove $(ORG_MAKE_INSTALL) and $(ORG_MAKE_VERSION),
  source from default.mk/local.mk.

* default.mk: move definitions for $(ORG_MAKE_INSTALL) and
  $(ORG_MAKE_VERSION) here so that they can be more easily configured.
  Remove definition of "org-release" from $(BATCH) and $(BTEST), now
  sourced from "org-version.el".

* targets.mk: target reorganization, introduce "stop" targets to
  prevent cleaning of org-version.el.  Use new targets for "oldorg" to
  make it more robust in case of errors.  New target "cleanutils" to
  remove any "*.elc" files that may have been produced there and add
  this target to "cleanall". Do the same in cleancontrib.
UTILITIES/org-fixup.el [new file with mode: 0644]
default.mk
lisp/Makefile
targets.mk