rules 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #!/usr/bin/make -f
  2. # Sample debian/rules that uses debhelper.
  3. # GNU copyright 1997 to 1999 by Joey Hess.
  4. # Uncomment this to turn on verbose mode.
  5. #export DH_VERBOSE=1
  6. # This is the debhelper compatability version to use.
  7. export DH_COMPAT=3
  8. configure: configure-stamp
  9. configure-stamp:
  10. dh_testdir
  11. # Add here commands to configure the package.
  12. ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
  13. touch configure-stamp
  14. build: build-stamp
  15. build-stamp: configure-stamp
  16. dh_testdir
  17. # Add here commands to compile the package.
  18. $(MAKE)
  19. #/usr/bin/docbook-to-man debian/isync.sgml > isync.1
  20. touch build-stamp
  21. clean:
  22. dh_testdir
  23. dh_testroot
  24. rm -f build-stamp configure-stamp
  25. # Add here commands to clean up after the build process.
  26. -$(MAKE) distclean
  27. dh_clean
  28. install: build
  29. dh_testdir
  30. dh_testroot
  31. dh_clean -k
  32. dh_installdirs
  33. # Add here commands to install the package into debian/isync.
  34. $(MAKE) install DESTDIR=$(CURDIR)/debian/isync
  35. # Build architecture-independent files here.
  36. binary-indep: build install
  37. # We have nothing to do by default.
  38. # Build architecture-dependent files here.
  39. binary-arch: build install
  40. dh_testdir
  41. dh_testroot
  42. # dh_installdebconf
  43. dh_installdocs
  44. dh_installexamples
  45. # dh_installmenu
  46. # dh_installlogrotate
  47. # dh_installemacsen
  48. # dh_installpam
  49. # dh_installmime
  50. # dh_installinit
  51. # dh_installcron
  52. dh_installman isync.1
  53. # dh_installinfo
  54. # dh_undocumented
  55. dh_installchangelogs ChangeLog
  56. dh_link
  57. dh_strip
  58. dh_compress
  59. dh_fixperms
  60. # dh_makeshlibs
  61. dh_installdeb
  62. # dh_perl
  63. dh_shlibdeps
  64. dh_gencontrol
  65. dh_md5sums
  66. dh_builddeb
  67. binary: binary-indep binary-arch
  68. .PHONY: build clean binary-indep binary-arch binary install configure