--- Makefile 2001/04/17 07:50:05 1.1 +++ Makefile 2001/04/17 09:43:54 1.2 @@ -1,23 +1,24 @@ ################ -# W3C slide maker - +# PLies # MAIN MAKEFILE - +ver=1.0pre +files=Makefile burst.pl INSTALL ChangeLog css/*.css #### PERL=perl BURST=../PLies/burst.pl -ARCH="UNIX" all: index.html clean: - -rm -f slide*.htm* index*.htm* + -rm -f slide*.htm index*.htm *~ index.html: all.htm infos.txt Makefile $(PERL) $(BURST) +#### create default files + all.htm: echo '' >>$@ echo '' >>$@ @@ -55,5 +56,14 @@ echo 'loc_slide = Slide' >> $@ echo 'loc_of = of' >> $@ +#### make distribution + dist: - cd .. ; tar cfvpz PLies.tar.gz PLies/Makefile PLies/burst.pl PLies/css/*.css PLies/INSTALL + rm -f ChangeLog all.htm infos.txt slide*html index*html + rcs2log -h rot13.org > ChangeLog + rm -Rf PLies-$(ver) + mkdir PLies-$(ver) + cp -rP $(files) PLies-$(ver) + tar cfvpz ../PLies-$(ver).tar.gz PLies-$(ver)/ + rm -Rf PLies-$(ver) + cd .. ; ln -sf PLies-$(ver).tar.gz PLies.tar.gz