aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-28 12:34:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-28 12:34:17 +0000
commit2b6422996fdd734aae66924c98bf2cb882f966bc (patch)
treebcd000b883d0efd269436c0c9ff30672963fefa0 /Makefile.am
parent011825376d0a98394e2510a0907172400af0d673 (diff)
downloadpaludis-2b6422996fdd734aae66924c98bf2cb882f966bc.tar.gz
paludis-2b6422996fdd734aae66924c98bf2cb882f966bc.tar.xz
Move DepList, UninstallList into a new libpaludisdeplist
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am19
1 files changed, 14 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 0ed8d14df..4c7267355 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,13 +1,20 @@
-CLEANFILES = *~ done-check gmon.out *.gcov *.gcno *.gcda automake-deps-hack.tmp
+CLEANFILES = *~ done-check gmon.out *.gcov *.gcno *.gcda \
+ automake-deps-dist-hack.tmp automake-deps-built-hack.tmp
MAINTAINERCLEANFILES = Makefile.in configure config/* aclocal.m4 \
config.h config.h.in INSTALL COPYING
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip std-options
-EXTRA_DIST = autogen.bash automake-deps-hack.tmp
+EXTRA_DIST = autogen.bash automake-deps-dist-hack.tmp
SUBDIRS = misc test paludis cran ebuild ruby src doc hooks eselect bash-completion
-DISTCHECK_CONFIGURE_FLAGS = --enable-qa --enable-ruby --enable-glsa --with-ruby-install-dir='$${DESTDIR}$${prefix}/ruby_dir'
+DISTCHECK_CONFIGURE_FLAGS = --enable-qa --enable-ruby --enable-glsa \
+ --with-ruby-install-dir='$${DESTDIR}$${prefix}/ruby_dir'
-automake-deps-hack.tmp :
+automake-deps-built-hack.tmp : built-sources-subdirs
+ touch $@
+
+BUILT_SOURCES = automake-deps-built-hack.tmp
+
+automake-deps-dist-hack.tmp :
$(MAKE) -C paludis/util
$(MAKE) -C paludis/args
$(MAKE) -C paludis/qa message-sr.hh
@@ -36,6 +43,8 @@ install-data-local :
@[ -f $(top_builddir)/done-check ] || echo "**************************************" || true
@[ -f $(top_builddir)/done-check ] || echo || true
-built-sources : $(BUILT_SOURCES)
+built-sources : $(BUILT_SOURCES) built-sources-subdirs
+
+built-sources-subdirs :
for s in $(SUBDIRS) ; do $(MAKE) -C $$s built-sources || exit 1 ; done