| 1 |
|
| 2 |
export DH_VERBOSE=1 |
| 3 |
|
| 4 |
%: |
| 5 |
dh $@ |
| 6 |
|
| 7 |
execute_before_dh_clean: |
| 8 |
ifneq ($(shell dpkg-vendor --derives-from ubuntu && echo true),true) |
| 9 |
debconf-updatepo |
| 10 |
else |
| 11 |
sed "s#http://deb.debian.org/debian#http://archive.ubuntu.com/ubuntu#g" -i debian/po/* -r |
| 12 |
sed "s#http://deb.debian.org/debian#http://archive.ubuntu.com/ubuntu#g" -i debian/pbuilder.templates |
| 13 |
sed "s#http://deb.debian.org/debian#http://archive.ubuntu.com/ubuntu#g" -i debian/pbuilder.config |
| 14 |
sed "s#VENDOR=debian#VENDOR=ubuntu#g" -i debian/pbuilder.config |
| 15 |
sed "s#http://deb.debian.org/debian#http://archive.ubuntu.com/ubuntu#g" -i pbuilderrc |
| 16 |
sed "s/#DISTRIBUTION=sid/DISTRIBUTION=devel/" -i pbuilderrc |
| 17 |
sed 's/COMPONENTS="main"/COMPONENTS="main universe"/' -i pbuilderrc |
| 18 |
endif |
| 19 |
|
| 20 |
override_dh_compress: |
| 21 |
dh_compress -X.pdf |