Mercurial > docs > s390-linux
view Makefile @ 18:090d339bcbc0 default tip
updates
---
hercules-s390.html | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
author | Peter van Dijk <peter.van.dijk@netherlabs.nl> |
---|---|
date | Fri, 25 Oct 2013 08:22:27 -0400 |
parents | 82b4c40a4f5c |
children |
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-2009/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)