summaryrefslogtreecommitdiffstats
path: root/doc/kvoctrain/Makefile.am
blob: 666bade5f3731260a883dabc469acc66ff676e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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