summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d017908)
raw | patch | inline | side by side (parent: d017908)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 9 Dec 2009 15:00:43 +0000 (15:00 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 9 Dec 2009 15:00:43 +0000 (15:00 +0000) |
program/Makefile.am | patch | blob | history | |
website/bin/htmlfix.sh | patch | blob | history |
diff --git a/program/Makefile.am b/program/Makefile.am
index 358a666ca0ba4d4d75e8139df54af35eb161d69b..8fc3a761107ae95daf15b27fc34953f22344e030 100644 (file)
--- a/program/Makefile.am
+++ b/program/Makefile.am
to-dist: to-docs dist
mv $(PACKAGE)-$(VERSION).tar.gz archive
-to-scp: to-dist
- cp CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz /home/oetiker/public_html/webtools/rrdtool/pub/
- (cd /home/oetiker/public_html/webtools/rrdtool/pub; rm $(PACKAGE).tar.gz; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz)
-
# $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz tobi@ipn.caida.org:/ipn/web/Tools/RRDtool/pub/
site-perl-inst: site-perl-install
diff --git a/website/bin/htmlfix.sh b/website/bin/htmlfix.sh
index 6f91c61bcb4cb2761e7eaf80652310e6626bfea9..b9b53a925202978a42e9e1dc82caf1098a674746 100755 (executable)
--- a/website/bin/htmlfix.sh
+++ b/website/bin/htmlfix.sh
#! /bin/sh
case $1 in
*.html)
- tidy -latin1 -wrap 0 -q -asxhtml $1 >$1.fixed 2>$1.report
+# tidy -latin1 -wrap 0 -q -asxhtml $1 >$1.fixed 2>$1.report
# TIDY_RET=$?
TIDY_RET=0
+ cp $1 $1.fixed
perl -i -0777 -p -e 's/^\s*//;s{="mailto:(oetiker|tobi|tobias)@(oetiker.ch|ee.ethz.ch)"}{="http://tobi.oetiker.ch/"}g;s{="mailto:(\S*?)\@(\S*?)"}{="mailto:$1@..delete..this..$2"}g' $1.fixed
# yes, beleive it or not IE chockes on propper xhtml pages ... sigh
perl -i -0777 -p -e 's/^\s*<\?xml.+?\?>\s*//;' $1.fixed
exit 1
fi
mv $1.fixed $1
- rm $1.report
+# rm $1.report
;;
esac