rules 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. # Add here commands to configure the package.
  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)
  20. #docbook-to-man debian/starter.sgml > starter.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/starter.
  35. $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/starter install
  36. sed 's:Icon=Starter:Icon=/usr/share/icons/hicolor/64x64/apps/Starter.png:' /home/antti/opengl/SDKPackage_OGLES2/Starter/debian/starter/usr/share/applications/Starter.desktop > /home/antti/opengl/SDKPackage_OGLES2/Starter/debian/starter/usr/share/applications/Starter.sed || echo -n
  37. mv /home/antti/opengl/SDKPackage_OGLES2/Starter/debian/starter/usr/share/applications/Starter.sed /home/antti/opengl/SDKPackage_OGLES2/Starter/debian/starter/usr/share/applications/Starter.desktop || echo -n
  38. # Build architecture-independent files here.
  39. binary-indep: build install
  40. # We have nothing to do by default.
  41. # Build architecture-dependent files here.
  42. binary-arch: build install
  43. dh_testdir
  44. dh_testroot
  45. dh_installchangelogs
  46. dh_installdocs
  47. dh_installexamples
  48. # dh_install
  49. # dh_installmenu
  50. # dh_installdebconf
  51. # dh_installlogrotate
  52. # dh_installemacsen
  53. # dh_installpam
  54. # dh_installmime
  55. # dh_python
  56. # dh_installinit
  57. # dh_installcron
  58. # dh_installinfo
  59. dh_installman
  60. dh_link
  61. # dh_strip
  62. dh_compress
  63. dh_fixperms
  64. # dh_perl
  65. # dh_makeshlibs
  66. dh_installdeb
  67. # dh_shlibdeps
  68. dh_gencontrol
  69. dh_md5sums
  70. dh_builddeb
  71. binary: binary-indep binary-arch
  72. .PHONY: build clean binary-indep binary-arch binary install configure