have clean target remove the generated man pages
[debian/cpmtools] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh $@ --without autoreconf
5
6 override_dh_auto_configure:
7         dh_auto_configure -- --datarootdir=/etc/cpmtools --with-libdsk=/usr
8
9 override_dh_auto_clean:
10         rm -f *.1 *.5
11         dh_auto_clean
12
13 override_dh_auto_install:
14         make install \
15                 DESTDIR=$(CURDIR)/debian/cpmtools \
16                 AM_UPDATE_INFO_DIR=no \
17                 'INSTALL=install --strip-program=true'
18