summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-01-14 04:27:21 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-01-14 04:27:21 +0000
commit64f092c0a46b3d592db231947b930e9c1a5aa524 (patch)
treef02a492015d7201ca9bfc98f347e816df034e54e /Makefile.in
parentc31c2b03f9cb66981908c9048eb586d2917856af (diff)
downloadquilt-64f092c0a46b3d592db231947b930e9c1a5aa524.tar.gz
- Use the quilt version in the source tree instead of the
installed version for running the test suite.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index dc861bf..56719f0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -123,6 +123,8 @@ SRC += $(wildcard test/*.test) test/run test/Makefile \
test/test.quiltrc
SRC += changes2changelog
+NON_EXEC_IN := doc/quilt.1 doc/README scripts/patchfns
+
#-----------------------------------------------------------------------
all : scripts compat-programs $(if $(MSGFMT),$(LINGUAS:%=po/%.mo))
@@ -268,6 +270,7 @@ $(patsubst %.in,%,$(wildcard quilt/*.in scripts/*.in)) :: Makefile
-e 's:@LOCALEDIR''@:$(localedir):g' \
-e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \
$< > $@
+ @$(if $(filter-out $<,$(NON_EXEC_IN)),chmod +x $@)
lib/backup-files.o :: Makefile