]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/install-out-targets.make
release: 1.1.0
[lilypond.git] / stepmake / stepmake / install-out-targets.make
1 # install-out-targets.make
2
3 localinstall: localinstall-files localinstall-outfiles
4
5 localinstall-files:
6
7 # urg, parameterise
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
16 endif
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
21 endif
22
23 localuninstall: localuninstall-outfiles localuninstall-files 
24
25 localuninstall-files:
26
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)
35 endif
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)
40 endif
41 #       -(cd $(INSTALLATION_OUT_DIR)/..; dir=`dirname \`pwd\`` cd ..; rmdir $$dir)