/[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

Annotation of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations)
Tue Sep 4 23:12:10 2001 UTC (17 years, 7 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -2 lines
version 1.3

1 dpavlin 1.1 ################
2 dpavlin 1.2 # PLies
3 dpavlin 1.1 # MAIN MAKEFILE
4    
5 dpavlin 1.11 ver=1.3
6     files=Makefile burst.pl INSTALL ChangeLog NEWS css/*.css default/*.html w3c/*.* blue/*.*
7 dpavlin 1.1
8     ####
9     PERL=perl
10     BURST=../PLies/burst.pl
11    
12 dpavlin 1.6 #### extract presentation name (from directory name)
13     presentation=`pwd | sed 's/.*\/\([^\/]*\)/\1/g'`
14    
15 dpavlin 1.1 all: index.html
16    
17     clean:
18 dpavlin 1.6 -rm -f slide*.html index*.html *~ $(presentation).zip
19 dpavlin 1.1
20     index.html: all.htm infos.txt Makefile
21     $(PERL) $(BURST)
22    
23 dpavlin 1.2 #### create default files
24    
25 dpavlin 1.1 all.htm:
26     echo '<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">' >>$@
27     echo '<html>' >>$@
28     echo '<head>' >>$@
29     echo '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">' >>$@
30     echo '<title>Overview</title>' >>$@
31     echo '<link rel="stylesheet" type="text/css" title="Talk" href="../PLies/css/talk-summary.css">' >>$@
32     echo '</head>' >>$@
33     echo '<body>' >>$@
34     echo '<h1>title</h1>' >>$@
35     echo 'content' >>$@
36     echo '</body>' >>$@
37     echo '</html>' >>$@
38    
39     infos.txt:
40     echo 'charset = ISO-8859-2' >>$@
41     echo 'author = Dobrica Pavlinu¹iæ' >>$@
42     echo 'authorUrl = mailto:dpavlin@rot13.org' >>$@
43     echo 'author2 = Hrvatska Udruga Linux Korisnika' >>$@
44     echo 'author2Url = http://www.linux.hr/' >>$@
45     echo 'date = 2001-mm-dd' >>$@
46     echo '#logoFile = logo.gif' >>$@
47     echo '#logoLink = http://www.rot13.org/~dpavlin/' >>$@
48     echo '#logoAlt = logo' >>$@
49     echo '#logoFile2 = ' >>$@
50     echo '#logoLink2 =' >>$@
51     echo '#logoAlt2 = ' >>$@
52     echo 'talkTitle = Title' >>$@
53     echo 'talkSubTitle = SubTitle' >>$@
54     echo 'loc_toc = Sadr¾aj' >>$@
55     echo 'loc_by = ' >>$@
56     echo '# author separator' >>$@
57     echo 'loc_amp = <br>' >>$@
58     echo '# $loc_slide nr $loc_of total' >> $@
59     echo 'loc_slide = Slide' >> $@
60     echo 'loc_of = of' >> $@
61    
62 dpavlin 1.2 #### make distribution
63    
64 dpavlin 1.1 dist:
65 dpavlin 1.2 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 dpavlin 1.6
74     #### pack presentation in zip
75     pack: all.htm infos.txt Makefile
76     $(PERL) $(BURST) pack=1 | zip -j -9 -q -@ $(presentation).zip
77 dpavlin 1.7 $(PERL) $(BURST)
78 dpavlin 1.6 @echo created presentation archive $(presentation).zip

  ViewVC Help
Powered by ViewVC 1.1.26