summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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