Mercurial > docs > s390-linux
view Makefile @ 10:1d96f0b77f23
revamp of the build system + zvm-centos4 howto begining
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sun, 31 Aug 2008 18:56:26 -0400 |
parents | 33ddc0880634 |
children | 82b4c40a4f5c |
line wrap: on
line source
SHORTLOG_LEN=1 HOWTOS=hercules-s390.html zvm-centos4.html COMMON=head.html tail.html all: $(HOWTOS) index.html: $(HOWTOS) head-index.html tail-index.html cat head-index.html > $@ echo "<h3><a href=\"zvm-centos4.html\">Installing CentOS 4.x under z/VM</a></h3>" >> $@ echo "<h3><a href=\"hercules-s390.html\">Installing Debian under Hercules</a></h3>" >> $@ sed -e 's/@@YEAR@@/2007-2008/g' < tail-index.html >> $@ hercules-s390.html: body-hercules-s390.html $(COMMON) sed -e 's/@@HEAD@@/Installing Debian under Hercules/g' < head.html > $@ hg log -l$(SHORTLOG_LEN) body-hercules-s390.html | sed -e 's/>/\>/g' -e 's/</\</g' >> $@ cat body-hercules-s390.html >> $@ hg log body-hercules-s390.html | sed -e 's/>/\>/g' -e 's/</\</g' >> $@ sed -e 's/@@YEAR@@/2007-2008/g' < tail.html >> $@ zvm-centos4.html: body-zvm-centos4.html $(COMMON) sed -e 's/@@HEAD@@/Installing CentOS 4.x under z\/VM/g' < head.html > $@ hg log -l$(SHORTLOG_LEN) body-zvm-centos4.html | sed -e 's/>/\>/g' -e 's/</\</g' >> $@ cat body-zvm-centos4.html >> $@ hg log body-zvm-centos4.html | sed -e 's/>/\>/g' -e 's/</\</g' >> $@ sed -e 's/@@YEAR@@/2008/g' < tail.html >> $@ .PHONY: clean clean: rm -f $(HOWTOS)