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. APPNAME := solitaire
  11. configure: configure-stamp
  12. configure-stamp:
  13. dh_testdir
  14. # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
  15. touch configure-stamp
  16. build: build-stamp
  17. build-stamp: configure-stamp
  18. dh_testdir
  19. # Add here commands to compile the package.
  20. # $(MAKE) # Uncomment this line for use without Qt Creator
  21. #docbook-to-man debian/$(APPNAME).sgml > $(APPNAME).1
  22. touch $@
  23. clean:
  24. dh_testdir
  25. dh_testroot
  26. rm -f build-stamp configure-stamp
  27. # Add here commands to clean up after the build process.
  28. $(MAKE) clean
  29. dh_clean
  30. install: build
  31. dh_testdir
  32. dh_testroot
  33. dh_clean -k
  34. dh_installdirs
  35. # Add here commands to install the package into debian/$(APPNAME).
  36. $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/$(APPNAME) install
  37. # Build architecture-independent files here.
  38. binary-indep: build install
  39. # We have nothing to do by default.
  40. # Build architecture-dependent files here.
  41. binary-arch: build install
  42. dh_testdir
  43. dh_testroot
  44. dh_installchangelogs
  45. dh_installdocs
  46. dh_installexamples
  47. # dh_install
  48. # dh_installmenu
  49. # dh_installdebconf
  50. # dh_installlogrotate
  51. # dh_installemacsen
  52. # dh_installpam
  53. # dh_installmime
  54. # dh_python
  55. # dh_installinit
  56. # dh_installcron
  57. # dh_installinfo
  58. dh_installman
  59. dh_link
  60. dh_strip
  61. dh_compress
  62. dh_fixperms
  63. # dh_perl
  64. dh_makeshlibs
  65. dh_installdeb
  66. # dh_shlibdeps # Uncomment this line for use without Qt Creator
  67. dh_gencontrol
  68. dh_md5sums
  69. dh_builddeb
  70. binary: binary-indep binary-arch
  71. .PHONY: build clean binary-indep binary-arch binary install configure