--- Makefile 2001/04/20 08:01:02 1.4 +++ Makefile 2001/09/04 23:12:10 1.11 @@ -2,17 +2,20 @@ # PLies # MAIN MAKEFILE -ver=1.0 -files=Makefile burst.pl INSTALL ChangeLog css/*.css +ver=1.3 +files=Makefile burst.pl INSTALL ChangeLog NEWS css/*.css default/*.html w3c/*.* blue/*.* #### PERL=perl BURST=../PLies/burst.pl +#### extract presentation name (from directory name) +presentation=`pwd | sed 's/.*\/\([^\/]*\)/\1/g'` + all: index.html clean: - -rm -f slide*.html index*.html *~ + -rm -f slide*.html index*.html *~ $(presentation).zip index.html: all.htm infos.txt Makefile $(PERL) $(BURST) @@ -67,3 +70,9 @@ tar cfvpz ../PLies-$(ver).tar.gz PLies-$(ver)/ rm -Rf PLies-$(ver) cd .. ; ln -sf PLies-$(ver).tar.gz PLies.tar.gz + +#### pack presentation in zip +pack: all.htm infos.txt Makefile + $(PERL) $(BURST) pack=1 | zip -j -9 -q -@ $(presentation).zip + $(PERL) $(BURST) + @echo created presentation archive $(presentation).zip