2 include $(TOP)/mk/boilerplate.mk
8 ifneq "$(BIN_DIST)" "1"
9 SCRIPT_SUBST_VARS += RAWCPP
12 # Note: might be overridden from cmd-line (see install rule below)
15 # no INTERP: do *not* want #! script stuck on the front
16 # what's the deal? I'll add it for now -- SOF
22 INSTALL_LIB_SCRIPTS+=$(SCRIPT_PROG)
23 INSTALL_LIBEXECS=$(C_PROG)
27 # Before really installing the script, we have to
28 # reconfigure it such that the paths it refers to,
29 # point to the installed utils.
33 @$(MAKE) $(MFLAGS) INSTALLING=1 $(SCRIPT_PROG)
36 CLEAN_FILES += $(SCRIPT_PROG)
38 include $(TOP)/mk/target.mk
41 # Hack to re-create the in-situ build tree script after
42 # having just installed it.
46 @$(MAKE) $(MFLAGS) BIN_DIST=0 $(SCRIPT_PROG)