summaryrefslogtreecommitdiff
path: root/debian/rules
blob: b1ae6dd1f9af55da3dbf4aa4f07a4198cbce37d5 (plain)
  1. #!/usr/bin/make -f
  2. build: build-stamp
  3. build-stamp:
  4. dh_testdir
  5. perl Makefile.PL
  6. $(MAKE)
  7. touch build-stamp
  8. clean:
  9. dh_testdir
  10. dh_testroot
  11. rm -f build-stamp
  12. perl Makefile.PL
  13. -$(MAKE) realclean
  14. dh_clean
  15. binary-arch: build
  16. binary-indep: build
  17. dh_testdir
  18. dh_testroot
  19. dh_clean -k
  20. $(MAKE) pure_install INSTALLDIRS=vendor \
  21. PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}')
  22. dh_installdocs html
  23. dh_link usr/share/ikiwiki/basewiki \
  24. usr/share/doc/ikiwiki/examples/basewiki
  25. dh_installman ikiwiki.man
  26. dh_installchangelogs
  27. dh_compress
  28. dh_fixperms
  29. dh_perl
  30. dh_installdeb
  31. dh_gencontrol
  32. dh_md5sums
  33. dh_builddeb
  34. binary: binary-indep binary-arch
  35. .PHONY: build clean binary-indep binary-arch binary