summaryrefslogtreecommitdiffstats
path: root/doc/online
diff options
context:
space:
mode:
Diffstat (limited to 'doc/online')
-rw-r--r--doc/online/Makefile8
-rwxr-xr-xdoc/online/replace2
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;