You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

116 lines
2.7 KiB

  1. ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
  2. SUBDIRS = \
  3. cut-n-paste \
  4. data \
  5. libdocument \
  6. backend \
  7. libview \
  8. libmisc
  9. if ENABLE_CAJA
  10. SUBDIRS += properties-caja
  11. endif
  12. if ENABLE_NEMO
  13. SUBDIRS += properties-nemo
  14. endif
  15. if ENABLE_TESTS
  16. SUBDIRS += test
  17. endif
  18. if ENABLE_THUMBNAILER
  19. SUBDIRS += thumbnailer
  20. endif
  21. if ENABLE_PREVIEWER
  22. SUBDIRS += previewer
  23. endif
  24. # dpkg-buildpackage: Building shell, po and help is dependent of properties-nemo
  25. # and properties-caja, which must be build before.
  26. SUBDIRS += shell po help
  27. NULL =
  28. pkgconfigdir = $(libdir)/pkgconfig
  29. pkgconfig_DATA = \
  30. xreader-document-$(EV_API_VERSION).pc \
  31. xreader-view-$(EV_API_VERSION).pc \
  32. $(NULL)
  33. headerdir = $(includedir)/xreader/$(EV_API_VERSION)
  34. header_DATA = \
  35. xreader-document.h \
  36. xreader-view.h \
  37. $(NULL)
  38. # Applications
  39. intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
  40. EXTRA_DIST = \
  41. $(intltool_extra) \
  42. $(header_DATA) \
  43. autogen.sh
  44. DISTCLEANFILES = \
  45. intltool-extract \
  46. intltool-merge \
  47. intltool-update
  48. MAINTAINERCLEANFILES = \
  49. ChangeLog \
  50. intltool-extract \
  51. intltool-merge \
  52. intltool-update \
  53. $(srcdir)/INSTALL \
  54. $(srcdir)/aclocal.m4 \
  55. $(srcdir)/autoscan.log \
  56. $(srcdir)/compile \
  57. $(srcdir)/config.guess \
  58. $(srcdir)/config.h.in \
  59. $(srcdir)/config.sub \
  60. $(srcdir)/configure \
  61. $(srcdir)/configure.scan \
  62. $(srcdir)/depcomp \
  63. $(srcdir)/install-sh \
  64. $(srcdir)/ltmain.sh \
  65. $(srcdir)/missing \
  66. $(srcdir)/mkinstalldirs \
  67. $(srcdir)/omf.make \
  68. $(srcdir)/xmldocs.make \
  69. $(srcdir)/gtk-doc.make \
  70. $(srcdir)/po/Makefile.in.in \
  71. `find "$(srcdir)" -type f -name Makefile.in -print`
  72. DISTCHECK_CONFIGURE_FLAGS = \
  73. --disable-schemas-compile \
  74. --enable-gtk-doc \
  75. --disable-caja \
  76. --disable-nemo \
  77. --disable-tests \
  78. --disable-silent-rules \
  79. --with-gtk=$(GTK_API_VERSION)
  80. distuninstallcheck_listfiles = find . -type f -print | grep -v /share/mate/help/ | grep -v \.omf
  81. dist-hook:
  82. @if test -d "$(srcdir)/.git"; \
  83. then \
  84. echo Creating ChangeLog && \
  85. ( cd "$(top_srcdir)" && \
  86. echo '# Generated by Makefile. Do not edit.'; echo; \
  87. $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
  88. && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
  89. || ( rm -f ChangeLog.tmp ; \
  90. echo Failed to generate ChangeLog >&2 ); \
  91. else \
  92. echo A git clone is required to generate a ChangeLog >&2; \
  93. fi
  94. -include $(top_srcdir)/git.mk