X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ps%2FGNUmakefile;h=d05179fd4ed718512dc73bfb70cd207c9ac852d4;hb=3191d7d77506b5941e2388cd5279ed45782c5c4d;hp=a94b37ef8a2e5b7d2a4cfb699bea97ca69e24ae2;hpb=9efbad2d9487a05b04423e7e9f062968e8f8eaf4;p=lilypond.git diff --git a/ps/GNUmakefile b/ps/GNUmakefile index a94b37ef8a..d05179fd4e 100644 --- a/ps/GNUmakefile +++ b/ps/GNUmakefile @@ -1,13 +1,20 @@ -# tex/Makefile - 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=$(datadir)/ps/ +INSTALLATION_DIR=$(local_lilypond_datadir)/ps/ INSTALLATION_FILES=$(PS_FILES) +# teTeX-3.0 compatibility. +local-install: + -$(INSTALL) -d $(DESTDIR)$(local_lilypond_datadir)/dvips + (cd $(DESTDIR)$(local_lilypond_datadir)/dvips && ln -sf ../ps .) + +local-uninstall: + -rm -f $(DESTDIR)$(local_lilypond_datadir)/dvips/ps + -rmdir $(DESTDIR)$(local_lilypond_datadir)/dvips + include $(depth)/make/stepmake.make