1 # install-out-targets.make
3 localinstall: localinstall-files localinstall-outfiles
8 localinstall-outfiles: $(INSTALLATION_OUT_FILES) $(INSTALLATION_OUT_FILES1) $(INSTALLATION_OUT_FILES2)
9 -$(INSTALL) -d $(INSTALLATION_OUT_DIR)
10 $(foreach i, $(INSTALLATION_OUT_FILES), \
11 $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR) && )true
12 ifneq ($(strip $(INSTALLATION_OUT_FILES1)),)
13 -$(INSTALL) -d $(INSTALLATION_OUT_DIR1)
14 $(foreach i, $(INSTALLATION_OUT_FILES1), \
15 $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR1) && )true
17 ifneq ($(strip $(INSTALLATION_OUT_FILES2)),)
18 -$(INSTALL) -d $(INSTALLATION_OUT_DIR2)
19 $(foreach i, $(INSTALLATION_OUT_FILES2), \
20 $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR2) && )true
23 localuninstall: localuninstall-outfiles localuninstall-files
27 localuninstall-outfiles:
28 $(foreach i, $(notdir $(INSTALLATION_OUT_FILES)), \
29 rm -f $(INSTALLATION_OUT_DIR)/$(i) && ) true
30 -rmdir $(INSTALLATION_OUT_DIR)
31 ifneq ($(strip $(INSTALLATION_OUT_FILES1)),)
32 $(foreach i, $(notdir $(INSTALLATION_OUT_FILES1)), \
33 rm -f $(INSTALLATION_OUT_DIR1)/$(i) && ) true
34 -rmdir $(INSTALLATION_OUT_DIR1)
36 ifneq ($(strip $(INSTALLATION_OUT_FILES2)),)
37 $(foreach i, $(notdir $(INSTALLATION_OUT_FILES2)), \
38 rm -f $(INSTALLATION_OUT_DIR2)/$(i) && ) true
39 -rmdir $(INSTALLATION_OUT_DIR2)
41 # -(cd $(INSTALLATION_OUT_DIR)/..; dir=`dirname \`pwd\`` cd ..; rmdir $$dir)