rm -f sst.6 sst.html sst-doc.html
rm -f *.6 MANIFEST index.html
+NEWSVERSION=$(shell sed -n <NEWS '/^[0-9]/s/:.*//p' | head -1)
+
SHIPPER = version=$(VERS) bkgimage=lpt.jpg
release: super-star-trek-$(VERS).tar.gz sst.html sst-doc.html
+ @[ $(VERS) = $(NEWSVERSION) ] || { echo "Version mismatch!"; exit 1; }
shipper $(SHIPPER) | sh -e -x
refresh: sst.html
+ @[ $(VERS) = $(NEWSVERSION) ] || { echo "Version mismatch!"; exit 1; }
shipper -N -w $(SHIPPER) | sh -e -x