The following commit has been merged in the master branch:
commit 073d4ec257e028020a75e88f00f2056acc8de7e3
Author: James Vega <[email protected]>
Date:   Thu Jul 28 21:47:53 2011 -0400

    scripts/Makefile: VERSION_FILE target now actually builds the version file
    
    Signed-off-by: James Vega <[email protected]>

diff --git a/scripts/Makefile b/scripts/Makefile
index 2cee7bd..91066f6 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -27,8 +27,7 @@ BIN_LIBDIR = /usr/lib/devscripts
 all: $(SCRIPTS) $(GEN_MAN1S) $(LIBS) $(CWRAPPERS) $(COMPLETION)
 
 $(VERSION_FILE):
-       @echo "You need to 'make' the toplevel directory first"
-       @false
+       $(MAKE) -C .. version
 
 %: %.sh
 
@@ -53,7 +52,7 @@ $(VERSION_FILE):
 # from ../po4a/Makefile. Treat files with care.
 PID := $(shell echo $$$$-$$PPID)
 devscripts.1: devscripts.1.in
-       cat $+ > $@.$(PID)
+       cat $< > $@.$(PID)
        perl ../debian/genmanpage.pl >> $@.$(PID)
        mv $@.$(PID) $@
 

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to