From: Mark Wooding Date: Wed, 1 Mar 2006 14:03:48 +0000 (+0000) Subject: Makefile: Update ls-R index when done. X-Git-Url: https://git.distorted.org.uk/~mdw/doc/texmf/commitdiff_plain/0395bec3aa2d00abd3e6927dfe90eed9cde1a3ab Makefile: Update ls-R index when done. --- diff --git a/Makefile b/Makefile index 764a27c..d300d22 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +## Makefile for texmf stuff + texmf = $(HOME)/texmf bibtexdir = $(texmf)/bibtex bibdir = $(bibtexdir)/bib @@ -7,13 +9,15 @@ latexdir = $(texdir)/latex default: all -install: \ +INSTALL_TARGETS = \ $(latexdir)/po.sty \ $(latexdir)/babelbst.tex $(bstdir)/mdwalpha.bst \ $(bibdir)/mdw-crypto.bib $(bibdir)/mdw-crypto.bix +install: $(INSTALL_TARGETS) $(texmf)/ls-R all: babelbst.tex mdwalpha.bst mdw-crypto.bix +$(texmf)/ls-R: $(INSTALL_TARGETS); mktexlsr $(texmf) $(texdir) $(latexdir) $(bibtexdir) $(bibdir) $(bstdir): %:; mkdir -p $@ $(latexdir)/%: % $(latexdir); cp $< $@ $(bibdir)/%: % $(bibdir); cp $< $@ @@ -25,3 +29,5 @@ babelbst.tex mdwalpha.bst: mdwalpha.dbj tex '\let\ifbatching\iftrue \input mdwalpha.dbj' clean:; rm -f mdwalpha.bst babelbst.tex *.log *.bix + +.PHONY: all install clean