rules 925 B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/make -f
  2. export DEB_BUILD_HARDENING=1
  3. override_dh_auto_configure:
  4. dh_auto_configure -- \
  5. --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
  6. --prefix=/usr \
  7. --mandir=\$${prefix}/share/man \
  8. --infodir=\$${prefix}/share/info \
  9. --sysconfdir=/etc/ngircd \
  10. --with-gnutls \
  11. --with-ident \
  12. --with-pam \
  13. --enable-ipv6
  14. override_dh_auto_install:
  15. dh_auto_install
  16. # install config and sample motd file
  17. install -m 640 -D $(CURDIR)/debian/ngircd.conf \
  18. $(CURDIR)/debian/ngircd/etc/ngircd/ngircd.conf
  19. install -m 640 -D $(CURDIR)/debian/ngircd.motd \
  20. $(CURDIR)/debian/ngircd/etc/ngircd/ngircd.motd
  21. # make lintian happy
  22. rm $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/COPYING
  23. mv $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/ChangeLog \
  24. $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/changelog
  25. override_dh_compress:
  26. dh_compress -XCommands.txt
  27. %:
  28. dh $@