VERSION=1.0-SNAPSHOT ZIP_FILE=postgresql-$(VERSION).zip all: $(ZIP_FILE) clean: rm -f $(ZIP_FILE) postgresql-$(VERSION).zip: rm -rf zip mkdir -p zip/root cp -r etc zip/root/etc/ cp -r bin zip/root/bin/ (cd zip; zip -r ../$@ *)