diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-19 20:40:48 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-19 20:40:48 +0000 |
commit | be4fc77c294a41a0db46ba692fbe45b2045b66c3 (patch) | |
tree | 4e930029faf4f131514b080217ad080fd3a5acb8 /doc/online | |
download | kpowersave-be4fc77c294a41a0db46ba692fbe45b2045b66c3.tar.gz kpowersave-be4fc77c294a41a0db46ba692fbe45b2045b66c3.zip |
Added KDE3 version of kpowersave
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1092957 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'doc/online')
-rw-r--r-- | doc/online/Makefile | 8 | ||||
-rwxr-xr-x | doc/online/replace | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/online/Makefile b/doc/online/Makefile new file mode 100644 index 0000000..b9755bd --- /dev/null +++ b/doc/online/Makefile @@ -0,0 +1,8 @@ +all: + meinproc --stylesheet /opt/kde3/share/apps/ksgmltools2/customization/kde-web.xsl ../en/index.docbook + ./replace + rm *.bak + cp ../en/*.png . + +clean: + rm *.png *.html diff --git a/doc/online/replace b/doc/online/replace new file mode 100755 index 0000000..9b99c81 --- /dev/null +++ b/doc/online/replace @@ -0,0 +1,2 @@ +von='..\/common\/kde_logo.png' nach='kde_logo.png'; filetype='*.html'; OLDIFS=$IFS; IFS=' +' ; files=`find . -name "$filetype"`; for f in $files;do cp $f $f.bak; g="$f.mettytmp"; echo "Searching in $f ..."; cat "$f" | sed "s/$von/$nach/" > "$g" && mv "$g" "$f"; rm -f *.mettytmp; done; IFS=$OLDIFS; |