From 2f8e829bdc2e868d1872e21b4acae404a2316e68 Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Fri, 31 Dec 2010 02:10:39 -0300 Subject: 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. --- doc/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc') 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) + -- cgit v1.2.3