On Thu, Jun 25, 2009 at 09:54:44PM +0800, Henry Huang wrote: > On Thu, Jun 25, 2009 at 3:55 AM, Jan Hauke Rahm<i...@jhr-online.de> wrote: [snip] > > As far as I can tell your package looks quite nice. Your debian/rules > > could be much shorter, though. Comments could be deleted and since > > you've already set dh compatibility to 7 you could also make use of it. > > A simple > > > > #!/usr/bin/make -f > > > > %: > > dh $@ > > > > would do the trick. > > it is the easiest way for me to use dh(1). > However, i need to specify the name of init script and drcomclient > manpage as follows: > > dh_installinit --name=drcom > dh_installman --name=drcom > > So i keep the original debian/rules by deleting the comments in it.
Well, you can do that by either using... dh install --before init dh_installinit --foo dh install --before man dh_installman --bar dh install --remaining ...or, with debhelper (>= 7.0.50): override_dh_installinit: dh_installinit --foo override_dh_installman: dh_installman --bar %: dh $@ G'luck, Peter -- Peter Pentchev r...@ringlet.net r...@space.bg r...@freebsd.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am jealous of the first word in this sentence.
pgpI6rUv08Rx1.pgp
Description: PGP signature