summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in34
-rw-r--r--quilt.changes9
2 files changed, 17 insertions, 26 deletions
diff --git a/Makefile.in b/Makefile.in
index b9e2dd0..9394578 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -133,7 +133,7 @@ export QUILT_DIR QUILT_LIB QUILTRC
all : scripts compat $(DOC:%=doc/%) $(MAN1) mofiles
-lib/backup-files :: $(LIBOBJS)
+$(LIB:%=lib/%) :: $(LIBOBJS)
ifeq ($(USE_NLS),yes)
mofiles : $(LINGUAS:%=po/%.mo)
@@ -369,31 +369,13 @@ endif # (test|check)
# Include a run-time generated list of dependencies for each test case
test/.depend : Makefile $(TESTS)
- @$(AWK) ' \
- { if (FNR==1) { c=0; print "" } } \
- sub(/.*\$$ *quilt /, "") { \
- if (c==0) { \
- c=1; \
- test=gensub(/.*\/(.*)\..*/, "\\1", "", FILENAME); \
- deps[test,$$1]=1; \
- printf "test/."test".ok:: bin/quilt quilt/scripts/patchfns quilt/"$$1; \
- } else if (c>0 && ! ((test,$$1) in deps)) { \
- printf " quilt/"$$1; deps[test,$$1]=1; \
- } \
- } ; \
- END { print "" } \
- ' $(TESTS) > $@
- @$(AWK) ' \
- sub(/.*\<quilt_command /, "") && ($$1 !~ /[^a-z]/) { \
- if (file==FILENAME) \
- printf " quilt/"$$1; \
- else { \
- file=FILENAME; \
- printf "\n"FILENAME" :: quilt/"$$1; \
- } \
- } ; \
- END { print "" } \
- ' quilt/*.in >> $@
+ @( printf "%s :: bin/quilt quilt/scripts/patchfns $(LIB:%=lib/%) $(COMPAT)\n" $(TESTS); \
+ $(AWK) 'sub(/.*\$$ *quilt /, "") \
+ { print FILENAME, "::", "quilt/"$$1}' $(TESTS); \
+ $(AWK) 'sub(/.*\<quilt_command /, "") && ($$1 !~ /[^a-z]/) \
+ { print FILENAME, "::", "quilt/"$$1 }' quilt/*.in; \
+ echo "quilt/refresh :: quilt/scripts/remove-trailing-ws" \
+ ) | sort -u | $(SED) -re 's:^test/(.*)\.test:test/.\1.ok:' > $@
ifneq ($(shell . $(QUILTRC) ; echo $$QUILT_PATCHES_PREFIX),)
CHECK_ENV := P=patches/; _P=../patches/; export P _P
diff --git a/quilt.changes b/quilt.changes
index 0dd099c..54590f2 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Mon Jan 23 10:52:25 CET 2006 - jayvdb@gmail.com
+
+- A better rule for test/.depend.
+- In order to run make check immediately after configure, a few
+ minor dependencies need to be added.
+- The test suite depends on the compat layer and backup-files.
+- quilt/refresh depends on remove-trailing-ws.
+
+-------------------------------------------------------------------
Mon Jan 23 01:08:16 CET 2006 - agruen@suse.de
- Remove unnecessary uses of diff's -N option.