]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/omf-targets.make
Doc-es: update Notation/Changing.
[lilypond.git] / stepmake / stepmake / omf-targets.make
index 99be618d47b8afc08593f8197381ab0092677945..49325215e67afaaa2045a2b8da9d7608aa0910f6 100644 (file)
@@ -1,9 +1,16 @@
 
 omf: $(OMF_FILES)
 
-
 omf-local-install: $(OMF_FILES)
-       $(foreach a, $(OMF_FILES), $(INSTALL) -m 644 $(a) $(local_package_omfdir)/$(notdir $(a)) && ) true
+       -$(INSTALLPY) -d $(DESTDIR)$(local_package_omfdir)
+       $(foreach a, $(OMF_FILES), $(INSTALLPY) -m 644 $(a) $(DESTDIR)$(local_package_omfdir)/$(notdir $(a)) && ) true
        @echo "Run scrollkeeper-update to register newly installed OMF files."
 
-local-install: omf-local-install
+ifeq ($(out),www)
+local-uninstall: omf-local-uninstall
+endif
+
+omf-local-uninstall:
+       rm -f $(foreach i, $(OMF_FILES), $(DESTDIR)$(local_package_omfdir)/$(notdir $(i)))
+       -rmdir $(DESTDIR)$(local_package_omfdir)
+