replace the remaining occurences of sed with emacs scripts, implement mkdir with...
commit0db8233460bafbd5ed5206fcb88dbb08ed29d4ad
authorAchim Gratz <Stromeko@Stromeko.DE>
Sat, 26 May 2012 20:32:21 +0000 (26 22:32 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 30 May 2012 10:30:21 +0000 (30 12:30 +0200)
tree42a186182c2f8464d94798fd21e0477a77831484
parent2443318f18a21889c079b64a047f39aea2a22dfb
replace the remaining occurences of sed with emacs scripts, implement mkdir with install

* UTILITIES/org-fixup.el (org-make-local-mk): New function to create a
  local.mk template from default.mk.

* UTILITIES/org-fixup.el (org-make-letterformat): New function to
  replace the format string for A4 with one for Letter.

* default.mk: Few cosmetic changes to the template section.  Add
  definition MAKE_LOCAL_MK for call to org-make-local-mk.  Remove
  definition for SED, which is not used anymore.  Implement MKDIR with
  'install -d' by default.  Since both CP and MKDIR are now
  implemented with install, this reduces the number of external
  dependencies.  Add mode settings to both invocations of install to
  keep the modes of installed files sane even if umask is set to a
  strange value.

* targets.mk: Remove sed script and use $(MAKE_LOCAL_MK) instead.

* doc/Makefile: Remove sed script and replace with emacs script.  This
  script can not be placed into a variable since it would expand $<
  and $@ in the context of the "card" target rather than the pattern
  rule.
UTILITIES/org-fixup.el
default.mk
doc/Makefile
targets.mk