]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/omf-targets.make
Merge branch 'dev/texi2html' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / stepmake / stepmake / omf-targets.make
index 99be618d47b8afc08593f8197381ab0092677945..59bf6218fd1eaa9f468810fd1ea1ae16911e7a5a 100644 (file)
@@ -1,9 +1,16 @@
 
 omf: $(OMF_FILES)
 
+local-install: omf-local-install
 
 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
+local-uninstall: omf-local-uninstall
+
+omf-local-uninstall:
+       rm -f $(foreach i, $(OMF_FILES), $(DESTDIR)$(local_package_omfdir)/$(i))
+       -rmdir $(DESTDIR)$(local_package_omfdir)
+