rules 783 B

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