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 30 31 32 33 34
|
#!/usr/bin/make -f
TMP=$(CURDIR)/debian/tmp/
%:
dh $@ --parallel --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- --enable-jobserver=no
override_dh_auto_install:
dh_auto_install
# Naming conflict: rename commandline programs
for memfile in $(TMP)/usr/bin/mem*; do \
mv $$memfile `echo $$memfile | sed 's/\bmem/memc/'` ; \
done
override_dh_installman:
dh_installman
# Naming conflict: rename commandline programs
for memfile in debian/libmemcached-tools/usr/share/man/man1/mem*.1; do \
mv $$memfile `echo $$memfile | sed 's/\bmem/memc/'` ; \
done
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
override_dh_strip:
dh_strip --dbg-package=libmemcached-dbg
override_dh_auto_test:
get-orig-source:
uscan --verbose --force-download --rename --repack --destdir=..
|