Makefile.am 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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/source.lintian-overrides \
  51. debian/usertags \
  52. debian/rules \
  53. debian/shlibs.default \
  54. debian/shlibs.override
  55. .PHONY: doc
  56. doc:
  57. $(DOXYGEN) doc/Doxyfile
  58. clean-local:
  59. rm -rf doc/html/
  60. .PHONY: ChangeLog
  61. DISTCLEANFILES = ChangeLog
  62. ChangeLog:
  63. git log -C --stat 1.15.0.. >$@
  64. # If we create the dist tarball from the git repository, make sure
  65. # that we're not forgetting some files...
  66. dist-hook:
  67. echo $(VERSION) >$(distdir)/.dist-version
  68. if [ -e .git ]; then \
  69. for file in `git ls-files | grep -v .gitignore`; do \
  70. if [ ! -e "$(distdir)/$$file" ]; then \
  71. echo "$$file is missing in $(distdir)" >&2 ; \
  72. exit 1 ; \
  73. fi ; \
  74. done ; \
  75. fi