NEWS=$(shell find . -newer upload.stamp) default: clean: rm -f upload.stamp Packages Packages.gz Sources Sources.gz touch -t 197001010000 upload.stamp Sources: $(shell find . -name '*.dsc') dpkg-scansources . /dev/null > $@ Packages: $(shell find . -name '*.deb') dpkg-scanpackages . /dev/null > $@ %.gz: % gzip -c < $< > $@ upload: Packages.gz Sources.gz find . -type d -newer upload.stamp -print0 | xargs -0 -iprut ssh grum "test -d www/warma/ubuntu/prut || mkdir www/warma/ubuntu/prut" find . -type f -newer upload.stamp -print0 | xargs -0 -iprut scp prut grum:www/warma/ubuntu/prut touch upload.stamp