bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] Fix 'make dist' in doc.


From: Diego Martin Nieto Cid
Subject: [PATCH 1/4] Fix 'make dist' in doc.
Date: Fri, 31 Dec 2010 02:10:39 -0300

From: Diego Nieto Cid <address@hidden>

* 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 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index 707f330..d148cec 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)
+
-- 
1.7.0.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]