From 17b9d4a7b10904f538154c804d4c74c5eb0ce8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 9 Jun 2007 02:55:50 +0000 Subject: [PATCH] Add heimdal-lorikeet target distdir-in-tree git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21024 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/Makefile.am.common | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cf/Makefile.am.common b/cf/Makefile.am.common index e87afdc87..2492b974d 100644 --- a/cf/Makefile.am.common +++ b/cf/Makefile.am.common @@ -132,7 +132,7 @@ check-local:: echo "$$dashes"; \ fi -SUFFIXES += .x +SUFFIXES += .x .z .x.c: @cmp -s $< $@ 2> /dev/null || cp $< $@ @@ -240,3 +240,15 @@ endif check-valgrind: env TESTS_ENVIRONMENT="$(top_builddir)/libtool --mode execute valgrind --leak-check=full --quiet --suppressions=$(top_srcdir)/cf/valgrind-suppressions" make check + +# +# Target to please samba build farm, builds distfiles in-tree. +# Will break when automake changes... +# + +distdir-in-tree: $(DISTFILES) + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) distdir-in-tree) ; \ + fi ; \ + done