X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=d45f9e4fc6ed610aefb2314a4fd0663d7d35bc18;hb=dbe1e927564c778b20a2a6f0377fc5deb6ed3aef;hp=ca4fcbdb40bf57e2d17f5ad36c14defc57b15754;hpb=c6cdb52dfb9504dde81bf18a009d9b5b8f6eb513;p=unscd.git diff --git a/debian/rules b/debian/rules index ca4fcbd..d45f9e4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,19 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --with systemd + +override_dh_auto_clean: + rm -f nscd + dh_auto_clean override_dh_auto_build: gcc $(CFLAGS) $(LDFLAGS) -o nscd nscd.c + help2man --name 'nscd which does not hang' \ + --include debian/help2man \ + --no-info \ + ./nscd > debian/unscd.man + ln -fs unscd.man debian/nscd.man override_dh_auto_install: install -d debian/unscd/usr/sbin/