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

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations)
Thu May 10 07:09:06 2001 UTC (22 years, 10 months ago) by dpavlin
Branch: MAIN
Changes since 1.7: +1 -1 lines
add NEWS to distribution archive

1 ################
2 # PLies
3 # MAIN MAKEFILE
4
5 ver=1.2-pre
6 files=Makefile burst.pl INSTALL ChangeLog NEWS css/*.css default/*.html
7
8 ####
9 PERL=perl
10 BURST=../PLies/burst.pl
11
12 #### extract presentation name (from directory name)
13 presentation=`pwd | sed 's/.*\/\([^\/]*\)/\1/g'`
14
15 all: index.html
16
17 clean:
18 -rm -f slide*.html index*.html *~ $(presentation).zip
19
20 index.html: all.htm infos.txt Makefile
21 $(PERL) $(BURST)
22
23 #### create default files
24
25 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 #### make distribution
63
64 dist:
65 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

  ViewVC Help
Powered by ViewVC 1.1.26