From f5dde7a5996d7034924916de6413cd1411d7a5fc Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 16 Nov 2013 00:35:49 +0100 Subject: Multiple fixes of build system --- Makefile.am | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f0901f2..582a1ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,20 @@ SUBDIRS = src engines external ui -EXTRA_DIST = librcd.spec +DIST_SUBDIRS = ${SUBDIRS} examples +EXTRA_DIST = librcc.spec pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = librcc.pc ACLOCAL_AMFLAGS = -I m4 -clean-local: - make -C examples clean +@SET_MAKE@ + +.PHONY: examples +examples: + ${MAKE} -C examples + +clean-local: + if [ -f examples/Makefile ]; then\ + ${MAKE} -C examples clean;\ + fi -- cgit v1.2.3