Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

77 řádky
1.6 KiB

  1. #!/usr/bin/make -f
  2. #export DH_VERBOSE=1
  3. export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
  4. export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
  5. # FOR AUTOCONF 2.52 AND NEWER ONLY
  6. ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
  7. confflags += --build $(DEB_HOST_GNU_TYPE)
  8. else
  9. confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
  10. endif
  11. confflags += --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
  12. configure: configure-stamp
  13. configure-stamp:
  14. dh_testdir
  15. ./configure $(confflags) --prefix=/usr
  16. touch configure-stamp
  17. build: configure-stamp build-stamp
  18. build-stamp:
  19. dh_testdir
  20. $(MAKE)
  21. touch build-stamp
  22. clean:
  23. dh_testdir
  24. dh_testroot
  25. rm -f build-stamp configure-stamp
  26. -$(MAKE) distclean
  27. dh_clean
  28. install: build
  29. dh_testdir
  30. dh_testroot
  31. dh_clean -k
  32. dh_installdirs
  33. DESTDIR=`pwd`/debian/libcaca-dev/ $(MAKE) install prefix=/usr
  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_testversion
  40. dh_testdir
  41. dh_testroot
  42. # dh_installdebconf
  43. dh_installdocs README BUGS TODO AUTHORS NEWS
  44. # dh_installexamples
  45. dh_installmenu
  46. # dh_installemacsen
  47. # dh_installpam
  48. # dh_installinit
  49. dh_installcron
  50. # dh_installmanpages
  51. dh_installinfo
  52. # dh_undocumented
  53. dh_installchangelogs ChangeLog
  54. dh_link
  55. dh_strip
  56. dh_compress
  57. dh_fixperms
  58. # dh_makeshlibs
  59. dh_installdeb
  60. # dh_perl
  61. dh_shlibdeps
  62. dh_gencontrol
  63. dh_md5sums
  64. dh_builddeb
  65. binary: binary-indep binary-arch
  66. .PHONY: build clean binary-indep binary-arch binary install configure