Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 -plibcaca-dev
  33. dh_installdirs usr/bin usr/share/doc usr/share/man/man1 -pcaca-utils
  34. DESTDIR=`pwd`/debian/libcaca-dev/ $(MAKE) install prefix=/usr
  35. mv debian/libcaca-dev/usr/bin/cacademo debian/caca-utils/usr/bin
  36. mv debian/libcaca-dev/usr/bin/cacaview debian/caca-utils/usr/bin
  37. mv debian/libcaca-dev/usr/bin/cacafire debian/caca-utils/usr/bin
  38. mv debian/libcaca-dev/usr/bin/caca-spritedit debian/caca-utils/usr/bin
  39. mv debian/libcaca-dev/usr/share/libcaca debian/caca-utils/usr/share
  40. mv debian/libcaca-dev/usr/share/man/man1/cacademo.1 debian/caca-utils/usr/share/man/man1
  41. ln -s cacademo.1 debian/caca-utils/usr/share/man/man1/cacafire.1
  42. mv debian/libcaca-dev/usr/share/man/man1/cacaview.1 debian/caca-utils/usr/share/man/man1
  43. mv debian/libcaca-dev/usr/share/man/man1/caca-spritedit.1 debian/caca-utils/usr/share/man/man1
  44. # Build architecture-independent files here.
  45. binary-indep: build install
  46. # We have nothing to do by default.
  47. # Build architecture-dependent files here.
  48. binary-arch: build install
  49. # dh_testversion
  50. dh_testdir
  51. dh_testroot
  52. # dh_installdebconf
  53. dh_installdocs README BUGS TODO AUTHORS NEWS NOTES -pcaca-utils
  54. dh_installdocs README BUGS TODO AUTHORS NEWS NOTES -plibcaca-dev
  55. # dh_installexamples
  56. dh_installmenu
  57. # dh_installemacsen
  58. # dh_installpam
  59. # dh_installinit
  60. dh_installcron
  61. # dh_installmanpages
  62. dh_installinfo
  63. dh_installmime
  64. # dh_undocumented
  65. dh_installchangelogs ChangeLog
  66. dh_link
  67. dh_strip
  68. dh_compress
  69. dh_fixperms
  70. # dh_makeshlibs
  71. dh_installdeb
  72. # dh_perl
  73. dh_shlibdeps
  74. dh_gencontrol
  75. dh_md5sums
  76. dh_builddeb
  77. binary: binary-indep binary-arch
  78. .PHONY: build clean binary-indep binary-arch binary install configure