1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
%:
dh $@ --with python2
override_dh_install:
dh_install
# remove documentation files created by setup.py
rm -rf debian/getmail4/usr/share/doc/getmail-*
override_dh_installdocs:
dh_installdocs
# Check what is out there.
-ls -l debian/getmail4/usr/share/doc/getmail4/*
# Fix file name to be getmailrc-examples.gz (Bug#463897)
if [ -s debian/getmail4/usr/share/doc/getmail4/configuration.txt ]; then \
sed -i -e 's/getmailrc-examples/getmailrc-examples.gz/' debian/getmail4/usr/share/doc/getmail4/configuration.txt ;\
fi
sed -i -e 's/getmailrc-examples/getmailrc-examples.gz/g' debian/getmail4/usr/share/doc/getmail4/configuration.html
override_dh_installchangelogs:
dh_installchangelogs docs/CHANGELOG
|