Makefile.am 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ## Process this file with automake to produce Makefile.in
  2. if WITH_DSELECT
  3. MAYBE_DSELECT = dselect
  4. endif
  5. SUBDIRS = \
  6. lib \
  7. dpkg-deb \
  8. dpkg-split \
  9. src \
  10. utils \
  11. $(MAYBE_DSELECT) \
  12. scripts \
  13. po \
  14. man
  15. ACLOCAL_AMFLAGS = -I m4
  16. dist_pkgdata_DATA = cputable ostable triplettable
  17. EXTRA_DIST = \
  18. .mailmap \
  19. ChangeLog.old \
  20. README.translators \
  21. get-version \
  22. doc/README.api \
  23. doc/README.feature-removal-schedule \
  24. doc/coding-style.txt \
  25. doc/triggers.txt \
  26. debian/archtable \
  27. debian/changelog \
  28. debian/compat \
  29. debian/control \
  30. debian/copyright \
  31. debian/dpkg-dev.docs \
  32. debian/dpkg-dev.install \
  33. debian/dpkg-dev.preinst \
  34. debian/dpkg-dev.lintian-overrides \
  35. debian/dpkg.cfg \
  36. debian/dpkg.cron.daily \
  37. debian/dpkg.docs \
  38. debian/dpkg.install \
  39. debian/dpkg.postinst \
  40. debian/dpkg.postrm \
  41. debian/dpkg.preinst \
  42. debian/dpkg.logrotate \
  43. debian/dpkg.links \
  44. debian/dpkg.lintian-overrides \
  45. debian/dselect.cfg \
  46. debian/dselect.docs \
  47. debian/dselect.install \
  48. debian/dselect.preinst \
  49. debian/dselect.lintian-overrides \
  50. debian/libdpkg-dev.docs \
  51. debian/libdpkg-dev.install \
  52. debian/libdpkg-dev.lintian-overrides \
  53. debian/libdpkg-perl.docs \
  54. debian/libdpkg-perl.install \
  55. debian/libdpkg-perl.lintian-overrides \
  56. debian/source/lintian-overrides \
  57. debian/source/format \
  58. debian/source/options \
  59. debian/usertags \
  60. debian/rules \
  61. debian/shlibs.default \
  62. debian/shlibs.override
  63. .PHONY: doc
  64. doc: doc/Doxyfile
  65. $(DOXYGEN) doc/Doxyfile
  66. clean-local:
  67. rm -rf doc/html/
  68. .PHONY: update-po
  69. update-po:
  70. $(MAKE) -C po update-po
  71. $(MAKE) -C scripts/po update-po
  72. $(MAKE) -C dselect/po update-po
  73. $(MAKE) -C man update-po
  74. .PHONY: ChangeLog
  75. DISTCLEANFILES = ChangeLog
  76. ChangeLog:
  77. git log -C --stat 1.15.0.. >$@
  78. # If we create the dist tarball from the git repository, make sure
  79. # that we're not forgetting some files...
  80. dist-hook:
  81. echo $(VERSION) >$(distdir)/.dist-version
  82. if [ -e .git ]; then \
  83. for file in `git ls-files | grep -v .gitignore`; do \
  84. if [ ! -e "$(distdir)/$$file" ]; then \
  85. echo "$$file is missing in $(distdir)" >&2 ; \
  86. exit 1 ; \
  87. fi ; \
  88. done ; \
  89. fi