X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=Makefile;h=961332bb38d9b4b71249813c95658130026e6d37;hp=1e44a406d693f8307142b913fe877db88911576a;hb=d1231f3953ff282714953691e2cc8d905e815777;hpb=b0fa3ad81c53d2287f990b31e6429456242cec97 diff --git a/Makefile b/Makefile index 1e44a40..961332b 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,9 @@ database.c database.h: compile adventure.text ./compile $(CC) $(CCFLAGS) $(DBX) -c database.c -html: index.html advent.html history.html hints.html - clean: rm -f *.o advent *.html database.[ch] compile *.gcno *.gcda - rm -f README advent.6 + rm -f README advent.6 MANIFEST cd tests; $(MAKE) --quiet clean check: advent @@ -61,12 +59,17 @@ check: advent asciidoc $< # README.adoc exists because that filename is magic on GitLab. -DOCS=COPYING NEWS README.adoc TODO \ - advent.adoc history.adoc index.adoc hints.adoc advent.6 +DOCS=COPYING NEWS README.adoc TODO advent.adoc history.adoc hints.adoc advent.6 advent-$(VERS).tar.gz: $(SOURCES) $(DOCS) tar --transform='s:^:advent-$(VERS)/:' --show-transformed-names -cvzf advent-$(VERS).tar.gz $(SOURCES) $(DOCS) +release: advent-$(VERS).tar.gz advent.html history.html hints.html + shipper version=$(VERS) | sh -e -x + +refresh: advent.html + shipper -N -w version=$(VERS) | sh -e -x + dist: advent-$(VERS).tar.gz debug: CCFLAGS += -O0 --coverage