Run gio-querymodules after install/uninstall
[platform/upstream/glib-networking.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 include $(top_srcdir)/Makefile.decl
3
4 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
5
6 SUBDIRS = po
7
8 if HAVE_LIBPROXY
9 SUBDIRS += proxy/libproxy
10 endif
11
12 if HAVE_GNUTLS
13 SUBDIRS += tls/gnutls
14 endif
15
16 install-exec-hook:
17         if test -n "$(GIO_QUERYMODULES)" -a -z "$(DESTDIR)"; then \
18                 $(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ;           \
19         fi
20
21 uninstall-hook:
22         if test -n "$(GIO_QUERYMODULES)" -a -z "$(DESTDIR)"; then \
23                 $(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ;           \
24         fi