Makefile.am 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ## Process this file with automake to produce Makefile.in
  2. ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
  3. SUBDIRS = \
  4. m4macros \
  5. tools \
  6. cursors \
  7. themes \
  8. po \
  9. po-libgimp \
  10. po-plug-ins \
  11. po-python \
  12. po-script-fu \
  13. po-tips \
  14. data \
  15. desktop \
  16. menus \
  17. libgimpbase \
  18. libgimpcolor \
  19. libgimpmath \
  20. libgimpconfig \
  21. libgimpmodule \
  22. libgimpthumb \
  23. libgimpwidgets \
  24. libgimp \
  25. app \
  26. $(GIMP_MODULES) \
  27. $(GIMP_PLUGINS) \
  28. etc \
  29. devel-docs \
  30. docs \
  31. build
  32. pkgconfigdir = $(libdir)/pkgconfig
  33. pkgconfig_DATA = \
  34. gimp-@GIMP_PKGCONFIG_VERSION@.pc \
  35. gimpthumb-@GIMP_PKGCONFIG_VERSION@.pc \
  36. gimpui-@GIMP_PKGCONFIG_VERSION@.pc
  37. AUTHORS: authors.xml authors.xsl
  38. if HAVE_XSLTPROC
  39. $(XSLTPROC) -o $(@) $(top_srcdir)/authors.xsl $< || rm -f $(@)
  40. endif
  41. EXTRA_DIST = \
  42. AUTHORS \
  43. COPYING \
  44. ChangeLog \
  45. ChangeLog.pre-1-0 \
  46. ChangeLog.pre-1-2 \
  47. ChangeLog.pre-2-0 \
  48. ChangeLog.pre-2-2 \
  49. ChangeLog.pre-2-4 \
  50. ChangeLog.pre-2-6 \
  51. HACKING \
  52. INSTALL \
  53. LICENSE \
  54. NEWS \
  55. NEWS.pre-2-0 \
  56. NEWS.pre-2-2 \
  57. NEWS.pre-2-4 \
  58. NEWS.pre-2-6 \
  59. README \
  60. README.i18n \
  61. authors.dtd \
  62. authors.xml \
  63. authors.xsl \
  64. config.h.win32 \
  65. gimp-zip.in
  66. DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
  67. check-defs:
  68. @$(PYTHON) $(top_srcdir)/tools/defcheck.py $(top_srcdir) || \
  69. ( echo "*** .def files inconsistent ***"; exit 1; )
  70. validate-authors:
  71. if HAVE_XMLLINT
  72. @cd $(srcdir); \
  73. $(XMLLINT) --noout --valid authors.xml || \
  74. ( echo "*** authors.xml INVALID ***"; exit 1; )
  75. endif
  76. all-local: AUTHORS
  77. dist-hook: check-defs validate-authors
  78. CHANGELOG_START = 74424325abb54620b370f2595445b2b2a19fe5e7
  79. ChangeLog: $(srcdir)/ChangeLog $(srcdir)/ChangeLog.pre-git
  80. $(srcdir)/ChangeLog:
  81. @echo Creating $@ based on git log
  82. @if test -d "$(srcdir)/.git"; then \
  83. (GIT_DIR=$(top_srcdir)/.git ./missing --run \
  84. git log $(CHANGELOG_START)^.. --stat) | fmt --split-only > $@.tmp \
  85. && mv -f $@.tmp $@ && echo Appending ChangeLog.pre-git && cat ChangeLog.pre-git >> $@ \
  86. || ($(RM) $@.tmp; \
  87. echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
  88. (test -f $@ || echo git-log is required to generate this file >> $@)); \
  89. else \
  90. test -f $@ || \
  91. (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
  92. echo A git checkout and git-log is required to generate this file >> $@); \
  93. fi
  94. .PHONY: $(srcdir)/ChangeLog