X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ps%2FGNUmakefile;h=d05179fd4ed718512dc73bfb70cd207c9ac852d4;hb=17290259db4d4230adaa3659d6704a1954c4a805;hp=4803038f5979c4d015566adf4e428740f069db29;hpb=8ef3c0a1a21dfa4d86481130b9a61bbdd27d9e22;p=lilypond.git diff --git a/ps/GNUmakefile b/ps/GNUmakefile index 4803038f59..d05179fd4e 100644 --- a/ps/GNUmakefile +++ b/ps/GNUmakefile @@ -1,13 +1,20 @@ -# ps/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