summaryrefslogtreecommitdiff
path: root/common.once.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.once.mk')
-rw-r--r--common.once.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/common.once.mk b/common.once.mk
index fc0aeb5..0603822 100644
--- a/common.once.mk
+++ b/common.once.mk
@@ -27,12 +27,5 @@ endif
CPPFLAGS += -I$(topobjdir)
M4FLAGS += -I$(topobjdir)
-all_clean_files += $(topobjdir)/config.sh $(topobjdir)/config.h
-config_vars = $(shell $(SED) -n 's/^\s*\([a-z][^ !?:=]*\).*=.*/\1/p' $(topobjdir)/config.mk) PACKAGE VERSION DESTDIR
-$(topobjdir)/config.sh: $(topobjdir)/config.mk
- $(PRINTF) '%s=%s\n' $(foreach v,$(config_vars),$v $($v)) | LC_ALL=C $(SORT) > $@
-$(topobjdir)/config.h: $(topobjdir)/config.sh
- . $(abspath $<) && $(PRINTF) '#define %s "%s"\n' $(foreach v,$(config_vars),$v '$($v)') PACKAGE_UPPER $${PACKAGE^^} | LC_ALL=C $(SORT) > $@
-
# Should be on by default
.DELETE_ON_ERROR: