summaryrefslogtreecommitdiff
path: root/modules/Makefile.am
blob: 4f7f259db4215d1d95d6e5856d5c700926cb62e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## Process this file with automake to create Makefile.in.

SUBDIRS = 		\
	arabic		\
	basic 		\
	hangul 		\
	indic           \
	tamil 		\
	thai		\
	hebrew

EXTRA_DIST =		\
	module.def

install-data-local:
	($(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango; \
	if ls $(DESTDIR)$(libdir)/pango/modules/*.so | grep 'so' > /dev/null ; then \
          echo "Wrote $(DESTDIR)$(sysconfdir)/pango/pango.modules."; \
          $(top_builddir)/pango/pango-querymodules $(DESTDIR)$(libdir)/pango/modules/*.so \
		> $(DESTDIR)$(sysconfdir)/pango/pango.modules; \
        else \
          echo "No dynamic modules were installed; all modules were linked statically."; \
	  echo "# This is an empty file, because Pango was installed with no dynamic modules" > $(DESTDIR)$(sysconfdir)/pango/pango.modules; \
        fi)

included-modules:
	@for d in $(SUBDIRS) ; do \
		( cd $$d && $(MAKE) $(AM_MAKEFLAGS) included-modules ) ; \
        done

.PHONY: included-modules