rules 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3. # Sample debian/rules that uses debhelper.
  4. # This file was originally written by Joey Hess and Craig Small.
  5. # As a special exception, when this file is copied by dh-make into a
  6. # dh-make output file, you may use that output file without restriction.
  7. # This special exception was added by Craig Small in version 0.37 of dh-make.
  8. # Uncomment this to turn on verbose mode.
  9. #export DH_VERBOSE=1
  10. configure: configure-stamp
  11. configure-stamp:
  12. dh_testdir
  13. # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
  14. touch configure-stamp
  15. build: build-stamp
  16. build-stamp: configure-stamp
  17. dh_testdir
  18. # Add here commands to compile the package.
  19. # $(MAKE) # Uncomment this line for use without Qt Creator
  20. #docbook-to-man debian/mirrorhouse.sgml > mirrorhouse.1
  21. touch $@
  22. clean:
  23. dh_testdir
  24. dh_testroot
  25. rm -f build-stamp configure-stamp
  26. # Add here commands to clean up after the build process.
  27. $(MAKE) clean
  28. dh_clean
  29. install: build
  30. dh_testdir
  31. dh_testroot
  32. dh_clean -k
  33. dh_installdirs
  34. # Add here commands to install the package into debian/mirrorhouse.
  35. $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/mirrorhouse install
  36. # Build architecture-independent files here.
  37. binary-indep: build install
  38. # We have nothing to do by default.
  39. # Build architecture-dependent files here.
  40. binary-arch: build install
  41. dh_testdir
  42. dh_testroot
  43. dh_installchangelogs
  44. dh_installdocs
  45. dh_installexamples
  46. # dh_install
  47. # dh_installmenu
  48. # dh_installdebconf
  49. # dh_installlogrotate
  50. # dh_installemacsen
  51. # dh_installpam
  52. # dh_installmime
  53. # dh_python
  54. # dh_installinit
  55. # dh_installcron
  56. # dh_installinfo
  57. dh_installman
  58. dh_link
  59. dh_strip
  60. dh_compress
  61. dh_fixperms
  62. # dh_perl
  63. # dh_makeshlibs
  64. dh_installdeb
  65. # dh_shlibdeps # Uncomment this line for use without Qt Creator
  66. dh_gencontrol
  67. dh_md5sums
  68. dh_builddeb
  69. binary: binary-indep binary-arch
  70. .PHONY: build clean binary-indep binary-arch binary install configure