chiark / gitweb /
changelog: start 0.6.8
[secnet.git] / Dir.sd.mk
index 7671a38b11f5130b4a10429c877c2ba7ec5fbfd4..7da57d08d540865579dec641022beed3efe270d5 100644 (file)
--- a/Dir.sd.mk
+++ b/Dir.sd.mk
@@ -20,7 +20,7 @@
 .PHONY:        all clean realclean distclean dist install
 
 PACKAGE:=secnet
-VERSION=0.6.0
+VERSION=0.6.7
 
 VPATH:=@srcdir@
 srcdir:=@srcdir@
@@ -78,6 +78,12 @@ STALE_PYTHON_FILES=  $(foreach e, py pyc, \
 %.yy.c %.yy.h: %.fl
        flex --header=$*.yy.h -o$*.yy.c $<
 
+%.c: %.y
+# make has a builtin rule to run yacc, but we don't want that because
+# our conffile.c is handwritten, and we use conffile.yy.c for the
+# bison output.  There is no need to do likewise for flex because
+# our flex input files are end in .fl, not .l.
+
 %.tab.c %.tab.h:       %.y
        bison -d -o $@ $<
 
@@ -129,17 +135,6 @@ TESTDIRS=stest mtest
 &TARGETS_fullcheck += msgcode-test.confirm
 
 RECHECK_RM += $(&TARGETS_check)
-RECHECK_RM += $(addsuffix /d-*, $(TESTDIRS));
-# Really the eval below should come very late, so that subdirs can add
-# their stuff to RECHECK_RM, but we do not have a way to do that with
-# subdirmk yet.  So we embed ad-hoc knowledge about TESTDIRS.
-
-# This contrives to delete things before make starts, if the user
-# said "recheck".  The alternative is having recheck be a target
-# which contains the rm's and then runs $(MAKE) again but then
-# we recursively re-enter make in parallel, which is Bad.
-$(eval $(if $(filter recheck,$(MAKECMDGOALS)), \
-       $(shell set -x; rm -rf $(RECHECK_RM) )))
 
 recheck: check
 
@@ -259,6 +254,9 @@ include subdirmk/regen.mk
 #       git-push origin v${VERSION//\~/_} v${VERSION//\~/_}~0:master
 #       dcmd rsync -v ../bpd/secnet_${VERSION}_multi.changes chiark:/home/ianmdlvl/public-html/secnet/download/
 #
+#  8a. Upload to Debian:
+#       dgit push-source
+#
 #  9. Sort out html.  On chiark as user secnet:
 #       cd ~secnet/public-html/release/
 #       mkdir $VERSION