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
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2004, 2005, 2007 Sergio Talens-Oliag <sto@debian.org>
# Added patch to fix usermod and utf8
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk
# The Package does not use Perl's Makefile.PL
#include /usr/share/cdbs/1/class/perlmodule.mk
# And the included Makefile is not useful for us
#include /usr/share/cdbs/1/class/makefile.mk
# Hook to create manpages from the perl files
common-build-indep::
rm -f debian/manpages; \
test -d debian/pod2man || mkdir debian/pod2man; \
for i in smbldap-[gpu]*; do \
pod2man --section=8 $$i > debian/pod2man/$$i.8; \
echo debian/pod2man/$$i.8 >> debian/manpages; \
done
# Clean the generated manpages
clean::
rm -f debian/manpages; \
rm -rf debian/pod2man;
# Really short debian/rules ... cdbs rules!!!
|