From d401afbddaae56093cce388e62f7ba4d9d68a327 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 5 Oct 2017 00:09:22 -0700 Subject: Get rid of sub{lib,doc}dir They don't make sense - using same ct-ng won't work with different versions, so they cannot coexist in the same prefix. Also localize other configure variables so that their usage is easier to track. Signed-off-by: Alexey Neyman --- kconfig/Makefile.in | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'kconfig') diff --git a/kconfig/Makefile.in b/kconfig/Makefile.in index 630ac14e..26a4404f 100644 --- a/kconfig/Makefile.in +++ b/kconfig/Makefile.in @@ -2,6 +2,18 @@ # Hmmm! Cheesy build! # Or: where I can unveil my make-fu... :-] +install = @INSTALL@ +sed = @SED@ +gperf = @GPERF@ +gperf_len_type = @GPERF_LEN_TYPE@ +gettext = @gettext@ +curses_hdr = @ac_ct_curses_hdr@ +CC = @CC@ +CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +INTL_LIBS = @INTL_LIBS@ + __silent = $(if $(V),,@printf ' %-7s %s\n' '$1' '$(if $2,$2,$(strip $<))' && ) __silent_rm = $(call __silent,RM,$1)rm -f $1 @@ -103,10 +115,10 @@ conf: $(COMMON_OBJ) $(conf_OBJ) install: $(patsubst %,install-%,$(PROGS)) install-kconfig.mk $(patsubst %,install-%,$(PROGS)): install-%: % - $(call __silent,INSTALL,$<)install -m 0755 $< $(DESTDIR)/$< + $(call __silent,INSTALL,$<)$(install) -m 0755 $< $(DESTDIR)/$< install-kconfig.mk: kconfig.mk - $(call __silent,INSTALL,$<)install -m 0644 $< $(DESTDIR)/$< + $(call __silent,INSTALL,$<)$(install) -m 0644 $< $(DESTDIR)/$< #----------------------------------------------------------- # Cleaning up the mess... -- cgit v1.2.3