chiark / gitweb /
subdirmk: Change stub force target to `run-main.mk'
[secnet.git] / Subdir.sd.mk
index bb2476fbc4413aa90dbe2573c4bc4edd1a74757f..4d7d35fcddd204ae5445257cd7bb766ab8fa54f1 100644 (file)
@@ -20,7 +20,7 @@
 .PHONY:        all clean realclean distclean dist install
 
 PACKAGE:=secnet
-VERSION=0.5.0
+VERSION=0.5.1
 
 VPATH:=@srcdir@
 srcdir:=@srcdir@
@@ -61,7 +61,7 @@ TEST_OBJECTS:=eax-aes-test.o eax-serpent-test.o eax-serpentbe-test.o \
                eax-test.o aes.o
 
 ifeq (version.o,$(MAKECMDGOALS))
-OBJECTS:=version.o
+OBJECTS:=
 TEST_OBJECTS:=
 endif
 
@@ -119,18 +119,18 @@ endif
 TESTDIRS=stest mtest
 
 &TARGETS_check = eax-aes-test.confirm eax-serpent-test.confirm \
-       eax-serpentbe-test.confirm ipaddrset.confirm \
-       $(addsuffix /check,$(TESTDIRS))
+       eax-serpentbe-test.confirm ipaddrset.confirm
 
 &TARGETS_fullcheck += $(&TARGETS_check)
 &TARGETS_fullcheck += msgcode-test.confirm
 
 recheck:
-       rm -f $(&TARGETS_CHECK)
+       rm -f $(&TARGETS_check)
        rm -rf $(addsuffix /d-*, $(TESTDIRS))
        $(MAKE) check
 
-version.c: Makefile
+.PHONY: FORCE
+version.c: FORCE
        echo "#include \"secnet.h\"" >$@.new
        @set -ex; if test -e .git && type -p git >/dev/null; then \
                v=$$(git describe --match 'v*'); v=$${v#v}; \
@@ -207,7 +207,7 @@ include subdirmk/regen.mk
 
 # Release checklist:
 #
-#  0. Use this checklist from Makefile.in
+#  0. Use this checklist from Subdir.sd.mk
 #
 #  1. Check that the tree has what you want
 #