DOWNLOAD_DIR=/var/www/www.gunnarwrobel.de/htdocs/downloads/ VERSION=1.2.4 TAR=tar cvfj TAREX=--exclude="CVS" --exclude=".svn" --exclude=*~ DEREF=--dereference scripts: $(TAR) scripts-gw-$(VERSION).tar.bz2 scripts-gw $(TAREX) $(DEREF) cp scripts-gw-$(VERSION).tar.bz2 $(DOWNLOAD_DIR) for fl in `find $(DOWNLOAD_DIR) -type f`; do chmod 644 "$$fl"; done PHONY: scripts