Second step of pylint cleanup - all regression tess pass.
[super-star-trek.git] / Makefile
index f85b3376950fcf6a5479cd84a83c0257f4d0ef3e..dea081f9bd69d60553460874825de085151a69a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Makefile for the SST2K project
 
-VERS=$(shell sed <sst.py -n -e '/version=\(.*\)/s//\1/p')
+VERS=$(shell sed <sst.py -n -e '/version *= *\(.*\)/s//\1/p')
 
 MANDIR=/usr/share/man/man1
 BINDIR=/usr/bin
@@ -41,8 +41,12 @@ pylint:
 
 clean:
        rm -f sst.6 sst.html
-       rm -f *.6 MANIFEST index.html SHIPPER.*
+       rm -f *.6 MANIFEST index.html
 
 release: sst-$(VERS).tar.gz sst.html
-       shipper -u -t; make clean
+       shipper version=$(VERS) | sh -e -x
+       cd www; upload
+
+refresh: sst.html
+       shipper -N -w version=$(VERS) | sh -e -x
        cd www; upload