summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-30 14:46:36 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-30 18:54:01 -0500
commitdc9339b5699ee3b0d48145a1389f93e9e09d02a6 (patch)
treeed71bd691ea6e0d05d47e2bfd891c333bf5709ab /src/Makefile
parent4f9203808ef9607ae27eba3cf77079bbe661fd95 (diff)
Update and tidy the build system for autothing v3.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 273a34b..2ba9534 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,11 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
+
pkgconfdir = $(sysconfdir)
-srcfiles-ignore/$(srcdir) = $(addsuffix /%,abslibre-tools chroot-tools devtools gitget lib librefetch toru xbs xbs-abs xbs-abslibre)
+# Because against all common sense, the subdirectories of this
+# directory aren't `nested.subdirs`, gitfiles includes the files in
+# them in `files.src.src`. So, filter-out everything with a slash.
+files.src.src := $(foreach f,$(files.src.src),$(if $(findstring /,$f),, $f ))
include $(topsrcdir)/build-aux/Makefile.tail.mk