/[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.5 - (hide annotations)
Sat May 5 19:48:08 2001 UTC (18 years, 1 month ago) by dpavlin
Branch: MAIN
Changes since 1.4: +2 -2 lines
preparation for 1.1. release

1 dpavlin 1.1 ################
2 dpavlin 1.2 # PLies
3 dpavlin 1.1 # MAIN MAKEFILE
4    
5 dpavlin 1.5 ver=1.1
6     files=Makefile burst.pl INSTALL ChangeLog css/*.css default/*.html
7 dpavlin 1.1
8     ####
9     PERL=perl
10     BURST=../PLies/burst.pl
11    
12     all: index.html
13    
14     clean:
15 dpavlin 1.3 -rm -f slide*.html index*.html *~
16 dpavlin 1.1
17     index.html: all.htm infos.txt Makefile
18     $(PERL) $(BURST)
19    
20 dpavlin 1.2 #### create default files
21    
22 dpavlin 1.1 all.htm:
23     echo '<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">' >>$@
24     echo '<html>' >>$@
25     echo '<head>' >>$@
26     echo '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">' >>$@
27     echo '<title>Overview</title>' >>$@
28     echo '<link rel="stylesheet" type="text/css" title="Talk" href="../PLies/css/talk-summary.css">' >>$@
29     echo '</head>' >>$@
30     echo '<body>' >>$@
31     echo '<h1>title</h1>' >>$@
32     echo 'content' >>$@
33     echo '</body>' >>$@
34     echo '</html>' >>$@
35    
36     infos.txt:
37     echo 'charset = ISO-8859-2' >>$@
38     echo 'author = Dobrica Pavlinu¹iæ' >>$@
39     echo 'authorUrl = mailto:dpavlin@rot13.org' >>$@
40     echo 'author2 = Hrvatska Udruga Linux Korisnika' >>$@
41     echo 'author2Url = http://www.linux.hr/' >>$@
42     echo 'date = 2001-mm-dd' >>$@
43     echo '#logoFile = logo.gif' >>$@
44     echo '#logoLink = http://www.rot13.org/~dpavlin/' >>$@
45     echo '#logoAlt = logo' >>$@
46     echo '#logoFile2 = ' >>$@
47     echo '#logoLink2 =' >>$@
48     echo '#logoAlt2 = ' >>$@
49     echo 'talkTitle = Title' >>$@
50     echo 'talkSubTitle = SubTitle' >>$@
51     echo 'loc_toc = Sadr¾aj' >>$@
52     echo 'loc_by = ' >>$@
53     echo '# author separator' >>$@
54     echo 'loc_amp = <br>' >>$@
55     echo '# $loc_slide nr $loc_of total' >> $@
56     echo 'loc_slide = Slide' >> $@
57     echo 'loc_of = of' >> $@
58    
59 dpavlin 1.2 #### make distribution
60    
61 dpavlin 1.1 dist:
62 dpavlin 1.2 rm -f ChangeLog all.htm infos.txt slide*html index*html
63     rcs2log -h rot13.org > ChangeLog
64     rm -Rf PLies-$(ver)
65     mkdir PLies-$(ver)
66     cp -rP $(files) PLies-$(ver)
67     tar cfvpz ../PLies-$(ver).tar.gz PLies-$(ver)/
68     rm -Rf PLies-$(ver)
69     cd .. ; ln -sf PLies-$(ver).tar.gz PLies.tar.gz

  ViewVC Help
Powered by ViewVC 1.1.26