
all: webCDcreator.jar swing.jar index.html

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

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

swing.jar:
	@echo
	@echo swing.jar is missing
	@echo Get it from http://java.sun.com/jfc/
	@echo or download webCDwriter-<version>-signed.tgz
	@echo
	exit 1

install: index.html

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

local-clean: clean
	rm -f index.html

maintainer-clean: clean
	rm -f index.html webCDcreator.jar swing.jar
