
include ../../config

all: webCDcreator.jar

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

install: all
	install -d -m 755 ${INSTDIR}/
	rm -f ${INSTDIR}/{doc,i18n,icons}
	ln -s ../doc ${INSTDIR}/doc
	ln -s ../i18n ${INSTDIR}/i18n
	ln -s ../icons ${INSTDIR}/icons
	$(INSTALL) -m 644 webCDcreator.jar ${INSTDIR}/
	$(INSTALL) -m 644 start.html ${INSTDIR}/index.html

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

maintainer-clean: clean
	rm -f webCDcreator.jar
