1 # Simple weekly tarball generator
2 SVNROOT = https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc
4 WWWROOT = /home/michaelh/www
5 SNAP = $(WWWROOT)/snapshots
14 mkdir -p sdcc-$(DATE); \
16 svn co $(SVNROOT) sdcc; \
17 tar czf $(SNAP)/sdcc-$(DATE)-$(REVISION).tar.gz sdcc; \
18 tar cIf $(SNAP)/sdcc-$(DATE)-$(REVISION).tar.bz2 sdcc
20 md5sum sdcc-$(DATE)-$(REVISION).tar.gz > sdcc-$(DATE)-$(REVISION).md5sums
22 md5sum sdcc-$(DATE)-$(REVISION).tar.bz2 >> sdcc-$(DATE)-$(REVISION).md5sums