1 |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
2 |
--htmlroot "../.." |
3 |
|
4 |
all: readme.html |
5 |
|
6 |
readme.html: mkcommitfeed.pl |
7 |
$(POD2HTML) $< > $@.tmp |
8 |
sed 's/<\/head>/<link rel=feed type="application\/atom+xml" href=commitfeed-commit>/' $@.tmp > $@ |
9 |
rm $@.tmp |
10 |
|
11 |
install-example: |
12 |
cp mkcommitfeed-example /usr/local/bin/mkcommitfeed |
13 |
chmod ugo+x /usr/local/bin/mkcommitfeed |
14 |
|
15 |
uninstall-example: |
16 |
rm /usr/local/bin/mkcommitfeed |
17 |
|
18 |
## License: Public Domain. |
19 |
## $Date: 2008/11/24 06:18:00 $ |