forked from osgeolive/OSGeoLive-doc
Add image compression logic to Makefile
not just in the debian package. move listimagesscript to bin dir Also clean compressed dirmaster
parent
2506b72dc9
commit
1f1a9b36e8
10
Makefile
10
Makefile
|
@ -38,6 +38,8 @@ help:
|
|||
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)
|
||||
rm -rf _compressed
|
||||
|
||||
#if [ -e licenses.csv ] ; then \
|
||||
# rm -f licenses.csv ; \
|
||||
#fi ;
|
||||
|
@ -260,3 +262,11 @@ doctest:
|
|||
@echo "Testing of doctests in the sources finished, look at the " \
|
||||
"results in $(BUILDDIR)/doctest/output.txt."
|
||||
|
||||
listimagestocompress:
|
||||
./bin/listimagestocompress.sh
|
||||
|
||||
compressimages: html
|
||||
for i in i $(cut -d ";" -f1 tocompress.txt)
|
||||
do
|
||||
pngquant -f --ext .png --quality 70-95 "$i"
|
||||
done
|
||||
|
|
|
@ -16,4 +16,4 @@ do
|
|||
#git commit -m "Compress $j with pngquant ($a -> $b)"
|
||||
fi
|
||||
done
|
||||
|
||||
rm -rf _compressed
|
|
@ -12,7 +12,3 @@ override_dh_auto_build-indep:
|
|||
#rm -rf de/presentation*
|
||||
$(MAKE) html
|
||||
debian/fix_sphinx.sh
|
||||
for i in i $(cut -d ";" -f1 debian/tocompress.txt)
|
||||
do
|
||||
pngquant -f --ext .png --quality 70-95 "$i"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue