Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

110 rindas
3.2 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. confflags += --enable-ncurses --enable-slang --enable-x11 --enable-imlib2
  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 -plibcaca-dev
  34. dh_installdirs usr/bin usr/share/doc/caca-utils usr/share/man/man1 -pcaca-utils
  35. DESTDIR=`pwd`/debian/libcaca-dev/ $(MAKE) install prefix=/usr
  36. mv debian/libcaca-dev/usr/bin/cacaball debian/caca-utils/usr/bin
  37. mv debian/libcaca-dev/usr/bin/cacademo debian/caca-utils/usr/bin
  38. mv debian/libcaca-dev/usr/bin/cacaview debian/caca-utils/usr/bin
  39. mv debian/libcaca-dev/usr/bin/cacafire debian/caca-utils/usr/bin
  40. mv debian/libcaca-dev/usr/bin/cacamoir debian/caca-utils/usr/bin
  41. mv debian/libcaca-dev/usr/bin/cacaplas debian/caca-utils/usr/bin
  42. mv debian/libcaca-dev/usr/share/libcaca debian/caca-utils/usr/share
  43. mv debian/libcaca-dev/usr/share/man/man1/cacaball.1 \
  44. debian/caca-utils/usr/share/man/man1/
  45. mv debian/libcaca-dev/usr/share/man/man1/cacademo.1 \
  46. debian/caca-utils/usr/share/man/man1/
  47. mv debian/libcaca-dev/usr/share/man/man1/cacafire.1 \
  48. debian/caca-utils/usr/share/man/man1/
  49. mv debian/libcaca-dev/usr/share/man/man1/cacamoir.1 \
  50. debian/caca-utils/usr/share/man/man1/
  51. mv debian/libcaca-dev/usr/share/man/man1/cacaplas.1 \
  52. debian/caca-utils/usr/share/man/man1/
  53. mv debian/libcaca-dev/usr/share/man/man1/cacaview.1 \
  54. debian/caca-utils/usr/share/man/man1/
  55. cp debian/libcaca-dev/usr/share/doc/libcaca-dev/README \
  56. debian/libcaca-dev/usr/share/doc/libcaca-dev/BUGS \
  57. debian/libcaca-dev/usr/share/doc/libcaca-dev/TODO \
  58. debian/libcaca-dev/usr/share/doc/libcaca-dev/AUTHORS \
  59. debian/libcaca-dev/usr/share/doc/libcaca-dev/NEWS \
  60. debian/libcaca-dev/usr/share/doc/libcaca-dev/NOTES \
  61. debian/caca-utils/usr/share/doc/caca-utils/
  62. # Build architecture-independent files here.
  63. binary-indep: build install
  64. # We have nothing to do by default.
  65. # Build architecture-dependent files here.
  66. binary-arch: build install
  67. # dh_testversion
  68. dh_testdir
  69. dh_testroot
  70. # dh_installdebconf
  71. dh_installdocs
  72. # dh_installexamples
  73. dh_installmenu
  74. # dh_installemacsen
  75. # dh_installpam
  76. # dh_installinit
  77. dh_installcron
  78. # dh_installmanpages
  79. dh_installinfo
  80. dh_installmime
  81. # dh_undocumented
  82. dh_installchangelogs ChangeLog
  83. dh_link
  84. dh_strip
  85. dh_compress
  86. dh_fixperms
  87. # dh_makeshlibs
  88. dh_installdeb
  89. # dh_perl
  90. dh_shlibdeps
  91. dh_gencontrol
  92. dh_md5sums
  93. dh_builddeb
  94. binary: binary-indep binary-arch
  95. .PHONY: build clean binary-indep binary-arch binary install configure