Makefile.am 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ## Process this file with automake to produce Makefile.in
  2. if WITH_DSELECT
  3. MAYBE_DSELECT = dselect
  4. endif
  5. SUBDIRS = \
  6. intl \
  7. getopt \
  8. lib \
  9. src \
  10. $(MAYBE_DSELECT) \
  11. dpkg-deb \
  12. dpkg-split \
  13. utils \
  14. scripts \
  15. po \
  16. methods \
  17. origins \
  18. man
  19. ACLOCAL_AMFLAGS = -I m4
  20. dist_pkgdata_DATA = archtable
  21. EXTRA_DIST = \
  22. debian/changelog \
  23. debian/compat \
  24. debian/control \
  25. debian/copyright \
  26. debian/dpkg-dev.install \
  27. debian/dpkg.cfg \
  28. debian/dpkg.docs \
  29. debian/dpkg.install \
  30. debian/dpkg.postinst \
  31. debian/dpkg.postrm \
  32. debian/dpkg.preinst \
  33. debian/dpkg.prerm \
  34. debian/dselect.cfg \
  35. debian/dselect.install \
  36. debian/pseudo-tags \
  37. debian/rules \
  38. debian/shlibs.default \
  39. debian/shlibs.override
  40. GAIN_ROOT_COMMAND=fakeroot
  41. TARGET_ARGS=
  42. DPKG_BUILDPACKAGE_ARGS=
  43. LINTIAN_ARGS=
  44. package: distdir
  45. cd $(distdir) && dpkg-buildpackage \
  46. -r$(GAIN_ROOT_COMMAND) \
  47. $(TARGET_ARGS) $(DPKG_BUILDPACKAGE_ARGS)
  48. $(am__remove_distdir)
  49. @set -e; \
  50. if test "x$(TARGET_ARGS)" = "x-S"; then \
  51. arch=source; \
  52. else \
  53. arch=`dpkg-architecture $(TARGET_ARGS) -qDEB_HOST_ARCH`; \
  54. fi; \
  55. changes=$(PACKAGE)_$(VERSION)_$$arch.changes; \
  56. test -f $$changes || { echo $$changes missing; exit 1;}; \
  57. if which lintian >/dev/null; then \
  58. echo lintian $(LINTIAN_ARGS) $$changes; \
  59. lintian $(LINTIAN_ARGS) $$changes || true; \
  60. fi; \
  61. (echo "$(distdir) package files ready for upload: "; \
  62. echo $$changes; \
  63. sed -e '1,/^Files:/d;/^$$/,$$d;s/.* //g' $$changes) | \
  64. sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'