summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Nieto Cid <dnietoc@gmail.com>2010-12-31 02:10:39 -0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-22 01:35:40 +0200
commit2f8e829bdc2e868d1872e21b4acae404a2316e68 (patch)
tree3a0d5a6173c44fbb1bbb8cac8469cf6522371ba0 /doc
parenteacf2c5de2245dfb7f248f3ff6149dd75ada919c (diff)
Fix 'make dist' in doc.
* doc/Makefile (DIST_FILES): Remove target files. (lndist): Depend on lndist-info-targets (lndist-info-targets): New target. Distribute target files.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 707f3304..0c00976c 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -18,8 +18,7 @@
dir := doc
makemode := misc
-DIST_FILES := navigating gpl.texinfo hurd.texi version.texi \
- hurd.info $(wildcard hurd.info-*)
+DIST_FILES := navigating gpl.texinfo hurd.texi version.texi
targets = hurd.info $(wildcard hurd.info-*)
installationdir = $(infodir)
@@ -56,3 +55,10 @@ stamp-version: $(top_srcdir)/Makeconf
echo '@set VERSION $(hurd-version)' > version.texi.new
$(move-if-change) version.texi.new version.texi
touch $@
+
+# XXX: the default lndist target will try to look for target files
+# in the source directory. Special case them.
+lndist: lndist-info-targets
+lndist-info-targets: hurd.info $(wildcard hurd.info-*)
+ ln $? $(top_srcdir)/hurd-snap/$(dir)
+