rules
上传用户:stc1860
上传日期:2007-01-12
资源大小:234k
文件大小:2k
源码类别:

CA认证

开发平台:

MultiPlatform

  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=2
  8. configure: configure-stamp
  9. configure-stamp:
  10. dh_testdir
  11. # Add here commands to configure the package.
  12. ./configure --prefix=/usr --disable-printf-debug
  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. touch build-stamp
  20. clean:
  21. dh_testdir
  22. dh_testroot
  23. rm -f build-stamp configure-stamp
  24. # Add here commands to clean up after the build process.
  25. -$(MAKE) clean
  26. dh_clean
  27. install: build
  28. dh_testdir
  29. dh_testroot
  30. dh_clean -k
  31. dh_installdirs
  32. # Add here commands to install the package into debian/xca.
  33. $(MAKE) install DESTDIR=$(CURDIR)/debian/xca
  34. # Build architecture-independent files here.
  35. binary-indep: build install
  36. # We have nothing to do by default.
  37. # Build architecture-dependent files here.
  38. binary-arch: build install
  39. dh_testdir
  40. dh_testroot
  41. # dh_installdebconf
  42. dh_installdocs
  43. # dh_installexamples
  44. # dh_installmenu
  45. # dh_installlogrotate
  46. # dh_installemacsen
  47. # dh_installpam
  48. # dh_installmime
  49. # dh_installinit
  50. # dh_installcron
  51. dh_installmanpages
  52. # dh_installinfo
  53. # dh_undocumented
  54. dh_installchangelogs 
  55. dh_link
  56. dh_strip
  57. dh_compress
  58. dh_fixperms
  59. # dh_makeshlibs
  60. dh_installdeb
  61. # dh_perl
  62. dh_shlibdeps
  63. dh_gencontrol
  64. dh_md5sums
  65. dh_builddeb
  66. binary: binary-indep binary-arch
  67. .PHONY: build clean binary-indep binary-arch binary install configure