summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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)
+