/[PLies]/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Tue Apr 17 07:50:05 2001 UTC revision 1.9 by dpavlin, Fri May 11 14:39:01 2001 UTC
# Line 1  Line 1 
1  ################  ################
2  # W3C slide maker  # PLies
   
3  # MAIN MAKEFILE  # MAIN MAKEFILE
4    
5    ver=1.2-pre
6    files=Makefile burst.pl INSTALL ChangeLog NEWS css/*.css default/*.html w3c/*.*
7    
8  ####  ####
9  PERL=perl  PERL=perl
10  BURST=../PLies/burst.pl  BURST=../PLies/burst.pl
11  ARCH="UNIX"  
12    #### extract presentation name (from directory name)
13    presentation=`pwd | sed 's/.*\/\([^\/]*\)/\1/g'`
14    
15  all: index.html  all: index.html
16    
17  clean:  clean:
18          -rm -f slide*.htm* index*.htm*          -rm -f slide*.html index*.html *~ $(presentation).zip
19    
20  index.html: all.htm infos.txt Makefile  index.html: all.htm infos.txt Makefile
21          $(PERL) $(BURST)          $(PERL) $(BURST)
22    
23    #### create default files
24    
25  all.htm:  all.htm:
26          echo '<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">' >>$@          echo '<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">' >>$@
27          echo '<html>' >>$@          echo '<html>' >>$@
# Line 55  infos.txt: Line 59  infos.txt:
59          echo 'loc_slide = Slide' >> $@          echo 'loc_slide = Slide' >> $@
60          echo 'loc_of = of' >> $@          echo 'loc_of = of' >> $@
61    
62    #### make distribution
63    
64  dist:  dist:
65          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
66            rcs2log -h rot13.org > ChangeLog
67            rm -Rf PLies-$(ver)
68            mkdir PLies-$(ver)
69            cp -rP $(files) PLies-$(ver)
70            tar cfvpz ../PLies-$(ver).tar.gz PLies-$(ver)/
71            rm -Rf PLies-$(ver)
72            cd .. ; ln -sf PLies-$(ver).tar.gz PLies.tar.gz
73    
74    #### pack presentation in zip
75    pack:   all.htm infos.txt Makefile
76            $(PERL) $(BURST) pack=1 | zip -j -9 -q -@ $(presentation).zip
77            $(PERL) $(BURST)
78            @echo created presentation archive $(presentation).zip

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.26