summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-03 00:43:39 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-03 00:43:39 -0500
commit96a41f8f354781498011f5957cc3aec38e5cb380 (patch)
tree61a857e7c5fe956de3ee8c5223a02bf12d5499a2 /Makefile
parentba29df2ef0ab32313e332ce7ce4e086f29d8d07d (diff)
buildsystem
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1291709..c939ea9 100644
--- a/Makefile
+++ b/Makefile
@@ -19,12 +19,12 @@ include $(topsrcdir)/automake.head.mk
am_subdirs = wrapper modules
-makefiles = Makefile automake.head.mk automake.tail.mk automake.txt common.once.head.mk common.once.tail.mk common.each.head.mk common.each.tail.mk config.mk
-
+makefiles = Makefile automake.head.mk automake.tail.mk automake.txt common.once.head.mk common.once.tail.mk common.each.head.mk common.each.tail.mk
am_src_files = COPYING HACKING README configure config.mk.in
+am_cfg_files = config.mk
am_out_files = config.sh config.h
-config_vars = $(shell $(SED) -n 's/^\s*\([a-z][^ !?:=]*\).*=.*/\1/p' $(topoutdir)/config.mk) PACKAGE VERSION DESTDIR
+config_vars = $(filter-out topsrcdir,$(shell $(SED) -n 's/^\s*\([a-z][^ !?:=]*\).*=.*/\1/p' $(topoutdir)/config.mk) PACKAGE VERSION)
$(outdir)/config.sh: $(outdir)/config.mk
$(PRINTF) '%s=%s\n' $(foreach v,$(config_vars),$v $($v)) | LC_ALL=C $(SORT) > $@
$(outdir)/config.h: $(outdir)/config.sh