]> git.donarmstrong.com Git - lilypond.git/blobdiff - ps/GNUmakefile
Merge branch 'master' of ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / ps / GNUmakefile
index c57e9e6a12e5bcd68d109dd169310dcf22bc69a4..d05179fd4ed718512dc73bfb70cd207c9ac852d4 100644 (file)
@@ -1,20 +1,20 @@
 depth = ..
 
-PS_FILES = $(wildcard *.ps)
+PS_FILES = $(call src-wildcard,*.ps)
 
 STEPMAKE_TEMPLATES=install
-EXTRA_DIST_FILES = $(PS_FILES) 
+EXTRA_DIST_FILES = $(PS_FILES)
 
 INSTALLATION_DIR=$(local_lilypond_datadir)/ps/
 INSTALLATION_FILES=$(PS_FILES)
 
 # teTeX-3.0 compatibility.
 local-install:
-       -$(INSTALL) -d $(local_lilypond_datadir)/dvips
-       (cd $(local_lilypond_datadir)/dvips && ln -sf ../ps .)
+       -$(INSTALL) -d $(DESTDIR)$(local_lilypond_datadir)/dvips
+       (cd $(DESTDIR)$(local_lilypond_datadir)/dvips && ln -sf ../ps .)
 
 local-uninstall:
-       -rm -f $(local_lilypond_datadir)/dvips/ps
-       -rmdir $(local_lilypond_datadir)/dvips
+       -rm -f $(DESTDIR)$(local_lilypond_datadir)/dvips/ps
+       -rmdir $(DESTDIR)$(local_lilypond_datadir)/dvips
 
 include $(depth)/make/stepmake.make