distro: Move patches to their own directory.
authorLudovic Courtès <ludo@gnu.org>
Wed, 22 Aug 2012 15:24:38 +0000 (17:24 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 22 Aug 2012 15:25:43 +0000 (17:25 +0200)
commit800cdeef31ccc92c9f54b62ec5276985d7b157b1
tree81381bff713789d149aad1ebc354b42849ecebad
parentaf5521ca019a81d1efc4428cec242bb4f9d77a05
distro: Move patches to their own directory.

* Makefile.am (nobase_dist_guilemodule_DATA): Keep only $(MODULES).
  (patchdir): New variable.
  (dist_patch_DATA): New variable.  Patch files formerly
  in $(nobase_dist_guilemodule_DATA).
  (.scm.go): Define `DISTRO_PATCH_DIRECTORY' and
  `DISTRO_INSTALLED_PATCH_DIRECTORY'.
  (TESTS_ENVIRONMENT): Define `DISTRO_PATCH_DIRECTORY'.

* distro.scm (%patch-directory): New variable.
  (search-patch): New procedure.
* distro/base.scm: Use `search-patch' instead of `(search-path
  %load-path ...)'.

* distro/findutils-absolute-paths.patch, distro/guile-1.8-cpp-4.5.patch,
  distro/m4-readlink-EINVAL.patch, distro/m4-s_isdir.patch,
  distro/make-impure-dirs.patch: Move to `distro/patches'.
Makefile.am
distro.scm
distro/base.scm
distro/patches/findutils-absolute-paths.patch [moved from distro/findutils-absolute-paths.patch with 100% similarity]
distro/patches/guile-1.8-cpp-4.5.patch [moved from distro/guile-1.8-cpp-4.5.patch with 100% similarity]
distro/patches/m4-readlink-EINVAL.patch [moved from distro/m4-readlink-EINVAL.patch with 100% similarity]
distro/patches/m4-s_isdir.patch [moved from distro/m4-s_isdir.patch with 100% similarity]
distro/patches/make-impure-dirs.patch [moved from distro/make-impure-dirs.patch with 100% similarity]
distro/patches/readline-link-ncurses.patch [moved from distro/readline-link-ncurses.patch with 100% similarity]