From d330445fb7f84748e70e67ca5bc44ce0a1a258f7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 9 Jun 2016 15:55:33 -0400 Subject: Work with the new version of autothing. --- build-aux/Makefile.each.head/20-libretools.mk | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 build-aux/Makefile.each.head/20-libretools.mk (limited to 'build-aux/Makefile.each.head/20-libretools.mk') diff --git a/build-aux/Makefile.each.head/20-libretools.mk b/build-aux/Makefile.each.head/20-libretools.mk new file mode 100644 index 0000000..90e9bda --- /dev/null +++ b/build-aux/Makefile.each.head/20-libretools.mk @@ -0,0 +1,35 @@ +pkgconfdir = $(sysconfdir)/libretools.d +pkgdocdir = $(docdir)/libretools +pkglibexecdir = $(libexecdir)/libretools + +# Detect things about the directory we're in #################################### + +srcfiles-ignore/$(srcdir) = $(addsuffix /%,$(at.subdirs/$(@D))) + +ifeq ($(wildcard $(topsrcdir)/.git),) +include $(srcdir)/.srcfiles.mk +else +$(srcdir)/.srcfiles.mk: FORCE + @echo srcfiles = $(filter-out $(srcfiles-ignore/$(@D)),$(shell cd $(@D) && git ls-files)) | $(WRITE_IFCHANGED) $@ +-include $(srcdir)/.srcfiles.mk +endif + +detect-ignore = +detect-ignore-exec = +detect-ignore-conf = +detect-ignore-ronn = +detect-ignore-md = HACKING.md +detect-ignore-sh = + +devtools-files = + +libretools-srcs = $(detect-all) +libretools-mans = $(patsubst %.ronn,%,$(detect-ronn)) +libretools-bins = $(detect-exec) +libretools-libexecs = +libretools-libs = $(detect-sh) +libretools-docs = $(detect-md) $(detect-ronn) +libretools-confs = $(detect-conf) + +libretools-files = $(libretools-mans) $(libretools-bins) $(libretools-libexecs) $(libretools-libs) $(libretools-docs) $(libretools-confs) +pots = $(libretools-bins) $(libretools-libexecs) $(libretools-libs) -- cgit v1.2.3