.PHONY: package clean FILES=$(wildcard css/*) favicon.ico $(wildcard piratebox/*.py) $(wildcard piratebox/*.html) $(wildcard img/*) index.html $(wildcard js/*) $(wildcard locales/*) setup.py $(wildcard systemd/*) PKG=pb-haskal-1.1.4.tar.xz package: $(PKG) $(PKG): $(FILES) tar cJf $@ $^ clean: $(RM) $(PKG)