]> saetta.ns0.it Git - libgtkmaskedentry/commitdiff
Fixed Makefile.am to work when libgladeui-dev isn't installed.
authorAndrea Zagli <azagli@libero.it>
Fri, 6 Nov 2009 19:18:59 +0000 (20:18 +0100)
committerAndrea Zagli <azagli@libero.it>
Fri, 6 Nov 2009 19:18:59 +0000 (20:18 +0100)
Makefile.am

index cee40e7ed0502e457e97cc6b0ffb578403c728d2..4729614e1d5cad1a58028a0b9ddda32d275e6140 100644 (file)
@@ -2,7 +2,10 @@ ACLOCAL_AMFLAGS = -I m4
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
 
-SUBDIRS = src tests docs glade
+SUBDIRS = src tests docs
+if test "$(GLADEUI_FOUND)" = "yes"; then \
+       SUBDIRS = $(SUBDIRS) glade; \
+fi
 
 EXTRA_DIST = libgtkmaskedentry.pc.in