.PHONY: all clean realclean distclean dist install
PACKAGE:=secnet
-VERSION=0.6.0
+VERSION=0.6.7
VPATH:=@srcdir@
srcdir:=@srcdir@
%.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 $@ $<
&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
# 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