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ů.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. confflags += --enable-ncurses --enable-slang --enable-x11 \
  13. --enable-imlib2 --enable-doc
  14. configure: configure-stamp
  15. configure-stamp:
  16. dh_testdir
  17. ./configure $(confflags) --prefix=/usr
  18. touch configure-stamp
  19. build: configure-stamp build-stamp
  20. build-stamp:
  21. dh_testdir
  22. $(MAKE)
  23. touch build-stamp
  24. clean:
  25. dh_testdir
  26. dh_testroot
  27. rm -f build-stamp configure-stamp
  28. -$(MAKE) distclean
  29. dh_clean
  30. install: build
  31. dh_testdir
  32. dh_testroot
  33. dh_clean -k
  34. dh_installdirs -plibcaca-dev
  35. dh_installdirs usr/bin usr/share/doc/caca-utils usr/share/man/man1 -pcaca-utils
  36. dh_installdirs usr/lib -plibcucul0
  37. dh_installdirs usr/lib -plibcaca0
  38. $(MAKE) install DESTDIR=`pwd`/debian/tmp
  39. dh_install --sourcedir=debian/tmp --list-missing
  40. # Build architecture-independent files here.
  41. binary-indep: build install
  42. # We have nothing to do by default.
  43. # Build architecture-dependent files here.
  44. binary-arch: build install
  45. # dh_testversion
  46. dh_testdir
  47. dh_testroot
  48. # dh_installdebconf
  49. dh_installdocs -A README TODO AUTHORS NEWS NOTES THANKS
  50. # dh_installexamples
  51. dh_installmenu
  52. # dh_installemacsen
  53. # dh_installpam
  54. # dh_installinit
  55. dh_installcron
  56. # dh_installmanpages
  57. dh_installinfo
  58. dh_installmime
  59. # dh_undocumented
  60. dh_installchangelogs ChangeLog
  61. dh_link
  62. dh_strip
  63. dh_compress
  64. dh_fixperms
  65. dh_makeshlibs
  66. dh_installdeb
  67. # dh_perl
  68. dh_shlibdeps
  69. dh_gencontrol
  70. dh_md5sums
  71. dh_builddeb
  72. binary: binary-indep binary-arch
  73. .PHONY: build clean binary-indep binary-arch binary install configure