]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/GNUmakefile
* input/regression/slur-script.ly: Add example of reverting
[lilypond.git] / tex / GNUmakefile
index f69214c2f5a032ec6ae134b7378b11054628b8d2..17cdf42c631d85a4db00bd174421217f05367064 100644 (file)
@@ -1,15 +1,20 @@
-# tex/Makefile
-
 depth = ..
 
+TEX_FILES = $(wildcard *.tex)  texinfo.cnf
+EXTRA_DIST_FILES = $(TEX_FILES) 
+STEPMAKE_TEMPLATES=install install-out
+
+INSTALLATION_DIR=$(local_lilypond_datadir)/tex/
+INSTALLATION_FILES=$(TEX_FILES) $(outdir)/music-drawing-routines.ps
 
-TEX_FILES = $(wildcard *.tex)
+include $(depth)/make/stepmake.make
 
-EXTRA_DIST_FILES =  $(TEX_FILES)
-STEPMAKE_TEMPLATES=install
+$(outdir)/music-drawing-routines.ps: $(depth)/ps/music-drawing-routines.ps
+       rm -f $@
+       -ln $< $@
 
-INSTALLATION_DIR=$(datadir)/tex/
-INSTALLATION_FILES=$(TEX_FILES)
+local-uninstall:
+       -rmdir $(DESTDIR)$(local_lilypond_datadir)/tex
 
-include $(depth)/make/stepmake.make
+all: $(INSTALLATION_FILES)