#
# Makefile for `Hunt the Wumpus' and `Superhack' games
#
-VERS=$(shell sed <wumpus.spec -n -e '/Version: \(.*\)/s//\1/p')
+VERS=1.5
all: wumpus superhack
wumpus.html: wumpus.xml
xmlto html-nochunks wumpus.xml
-SOURCES = README COPYING Makefile wumpus.c superhack.c wumpus.xml wumpus.spec
+SOURCES = README COPYING NEWS Makefile wumpus.c superhack.c wumpus.xml
install: wumpus.6
cp wumpus superhack /usr/bin/
release: wumpus-$(VERS).tar.gz wumpus.html
shipper version=$(VERS) | sh -e -x
+
+refresh: wumpus.html
+ shipper -N -w version=$(VERS) | sh -e -x