summaryrefslogtreecommitdiff
path: root/debian/rules
blob: b65fa72f9e9b4f281ace1cd02ae317291be4a685 (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_installman ikiwiki.man
  24. dh_installchangelogs
  25. dh_compress
  26. dh_fixperms
  27. dh_perl
  28. dh_installdeb
  29. dh_gencontrol
  30. dh_md5sums
  31. dh_builddeb
  32. binary: binary-indep binary-arch
  33. .PHONY: build clean binary-indep binary-arch binary