You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

64 lines
1.2 KiB

  1. #!/usr/bin/make -f
  2. commit: commit-stamp
  3. commit-stamp:
  4. dh_testdir
  5. svn commit
  6. touch commit-stamp
  7. build: build-stamp
  8. build-stamp:
  9. dh_testdir
  10. # Handle norwegian translations
  11. # Make transition copy while we wait for all users to change from
  12. # no_NO to nb_NO
  13. cp po/nb.po po/no.po
  14. cp tasks/po/nb.po tasks/po/no.po
  15. $(MAKE) DEBUG=0
  16. touch build-stamp
  17. clean:
  18. dh_testdir
  19. dh_testroot
  20. rm -f build-stamp install-stamp commit-stamp
  21. -$(MAKE) clean
  22. dh_clean
  23. # Handle norwegian translations
  24. # Remove transition copy while we wait for all users to change from
  25. # no_NO to nb_NO
  26. $(RM) po/no.po
  27. $(RM) tasks/po/no.po
  28. install: install-stamp
  29. install-stamp: build-stamp
  30. dh_testdir
  31. dh_testroot
  32. dh_clean -k
  33. dh_installdirs
  34. $(MAKE) install DESTDIR=`pwd`/debian/tasksel
  35. touch install-stamp
  36. binary-arch: build install
  37. binary-indep: build install
  38. dh_testdir
  39. dh_testroot
  40. dh_installdocs TODO README
  41. dh_installmenu
  42. dh_installman
  43. dh_installchangelogs
  44. dh_link
  45. dh_strip
  46. dh_compress
  47. dh_installdebconf
  48. perl -pi -e 's/^Choices: \$${CHOICES}/Choices: \$${ORIGCHOICES}/' debian/tasksel/DEBIAN/templates
  49. dh_fixperms
  50. dh_installdeb
  51. dh_shlibdeps
  52. dh_gencontrol
  53. dh_md5sums
  54. dh_builddeb
  55. binary: binary-indep binary-arch
  56. .PHONY: build clean binary-indep binary-arch binary install