
all: webCDcreator.jar index.html

index.html: local.html Policy.class
	cat local.html | sed s/localhost/`hostname`/g > index.html

Policy.class: Policy.java
	javac Policy.java

webCDcreator.jar:
	@echo
	@echo webCDcreator.jar is missing
	@echo You can get it from webCDwriter-<version>-signed.tgz
	@echo
	exit 1

install: index.html

clean:
	rm -f *~ .nfs* core .directory

local-clean: clean
	rm -f index.html

maintainer-clean: clean
	rm -f index.html *.class webCDcreator.jar
