rules 930 B

12345678910111213141516171819202122232425262728
  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 $(CURDIR)/debian/ngircd.conf \
  15. $(CURDIR)/debian/ngircd/etc/ngircd/ngircd.conf
  16. install -m 640 -D $(CURDIR)/debian/ngircd.motd \
  17. $(CURDIR)/debian/ngircd/etc/ngircd/ngircd.motd
  18. install -m 755 -D $(CURDIR)/debian/ngircd-conf-convert \
  19. $(CURDIR)/debian/ngircd/usr/share/ngircd/ngircd-conf-convert
  20. # make lintian happy
  21. rm $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/COPYING
  22. mv $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/ChangeLog \
  23. $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/changelog
  24. %:
  25. dh $@