summaryrefslogtreecommitdiffstats
path: root/doc/kvoctrain/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/kvoctrain/Makefile.am')
-rw-r--r--doc/kvoctrain/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/kvoctrain/Makefile.am b/doc/kvoctrain/Makefile.am
new file mode 100644
index 00000000..666bade5
--- /dev/null
+++ b/doc/kvoctrain/Makefile.am
@@ -0,0 +1,29 @@
+KDE_LANG = en
+KDE_DOCS = AUTO
+KDE_MANS = AUTO
+
+check-local:
+ $(MEINPROC) --check index.docbook
+
+convert-local:
+ $(MEINPROC) $(srcdir)/index.docbook
+
+# needs pngcrush which reduces files size about 20%
+# brute-crush takes _very_ long time
+crush:
+ mkdir -p crushed
+ for i in *.png; do \
+ pngcrush $$i crushed/$$i;\
+ done
+ mv *.png /tmp
+ mv crushed/*.png .
+ rm -r crushed
+
+brute-crush:
+ mkdir -p crushed
+ for i in *.png; do \
+ pngcrush -brute $$i crushed/$$i;\
+ done
+ mv *.png /tmp
+ mv crushed/*.png .
+ rm -r crushed