summaryrefslogtreecommitdiff
path: root/git.mk
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-07-11 15:28:49 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-07-11 15:28:49 -0400
commit0efeb96dab93f93e15137f5b16a0132e7c9f4369 (patch)
tree24f726b93d2b071b1e1096d22ba86ec9d1b4acaf /git.mk
parentb21736d60f95fb9b9454c9faaf7cc2d5584df267 (diff)
downloadgtk+-0efeb96dab93f93e15137f5b16a0132e7c9f4369.tar.gz
Update git.mk, respects AC_CONFIG_AUX_DIR now
Diffstat (limited to 'git.mk')
-rw-r--r--git.mk23
1 files changed, 13 insertions, 10 deletions
diff --git a/git.mk b/git.mk
index cd699b46c8..2a144a8fa8 100644
--- a/git.mk
+++ b/git.mk
@@ -75,18 +75,21 @@
# toplevel MAINTAINERCLEANFILES:
GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
$(srcdir)/aclocal.m4 \
- $(srcdir)/ar-lib \
$(srcdir)/autoscan.log \
- $(srcdir)/compile \
- $(srcdir)/config.guess \
- $(srcdir)/config.h.in \
- $(srcdir)/config.sub \
$(srcdir)/configure.scan \
- $(srcdir)/depcomp \
- $(srcdir)/install-sh \
- $(srcdir)/ltmain.sh \
- $(srcdir)/missing \
- $(srcdir)/mkinstalldirs
+ `AUX_DIR=$(srcdir)/$$($(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1'); for x in \
+ ar-lib \
+ compile \
+ config.guess \
+ config.sub \
+ depcomp \
+ install-sh \
+ ltmain.sh \
+ missing \
+ mkinstalldirs \
+ ; do echo "$$AUX_DIR/$$x"; done` \
+ `$(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' $(srcdir)/configure.ac | \
+ head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
#
# All modules should also be fine including the following variable, which
# removes automake-generated Makefile.in files: