25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

78 satır
1.6 KiB

  1. #!/usr/bin/make -f
  2. #export DH_VERBOSE=1
  3. export DH_COMPAT=3
  4. export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
  5. export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
  6. # FOR AUTOCONF 2.52 AND NEWER ONLY
  7. ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
  8. confflags += --build $(DEB_HOST_GNU_TYPE)
  9. else
  10. confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
  11. endif
  12. confflags += --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
  13. configure: configure-stamp
  14. configure-stamp:
  15. dh_testdir
  16. ./configure $(confflags) --prefix=/usr
  17. touch configure-stamp
  18. build: configure-stamp build-stamp
  19. build-stamp:
  20. dh_testdir
  21. $(MAKE)
  22. touch build-stamp
  23. clean:
  24. dh_testdir
  25. dh_testroot
  26. rm -f build-stamp configure-stamp
  27. -$(MAKE) distclean
  28. dh_clean
  29. install: build
  30. dh_testdir
  31. dh_testroot
  32. dh_clean -k
  33. dh_installdirs
  34. DESTDIR=`pwd`/debian/ttyvaders/ $(MAKE) install prefix=/usr
  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_testversion
  41. dh_testdir
  42. dh_testroot
  43. # dh_installdebconf
  44. dh_installdocs
  45. # dh_installexamples
  46. dh_installmenu
  47. # dh_installemacsen
  48. # dh_installpam
  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