diff options
author | Karl Berry <karl@freefriends.org> | 2017-07-13 23:10:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-07-13 23:10:09 +0000 |
commit | a24a44f88d5468496118875b7187a54cd0944e02 (patch) | |
tree | 17b2ee6f420729b1196c3d1e6533ae21a977821f /Master/texmf-dist/doc/latex/marginfit/Makefile | |
parent | 578ec49378824cf4fd10539a2fda81485ef5ab24 (diff) |
marginfit (10jul17)
git-svn-id: svn://tug.org/texlive/trunk@44788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/marginfit/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/marginfit/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/marginfit/Makefile b/Master/texmf-dist/doc/latex/marginfit/Makefile new file mode 100644 index 00000000000..e17ed57f766 --- /dev/null +++ b/Master/texmf-dist/doc/latex/marginfit/Makefile @@ -0,0 +1,33 @@ + +PACKAGE := marginfit + +TEXMFDIST:=$(shell kpsewhich -var-value TEXMFDIST) + +all: sty doc + +sty: $(PACKAGE).sty +$(PACKAGE).sty: $(PACKAGE).dtx $(PACKAGE).ins + pdflatex ${PACKAGE}.ins + +doc: $(PACKAGE).pdf +$(PACKAGE).pdf: $(PACKAGE).dtx + pdflatex ${PACKAGE}.dtx + makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx + makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo + pdflatex ${PACKAGE}.dtx + pdflatex ${PACKAGE}.dtx + +install: $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE).sty README $(PACKAGE).pdf + install -m 755 -d $(TEXMFDIST)/source/latex/$(PACKAGE) + install -m 644 -t $(TEXMFDIST)/source/latex/$(PACKAGE) $(PACKAGE).dtx + install -m 644 -t $(TEXMFDIST)/source/latex/$(PACKAGE) $(PACKAGE).ins + install -m 755 -d $(TEXMFDIST)/tex/latex/$(PACKAGE) + install -m 644 -t $(TEXMFDIST)/tex/latex/$(PACKAGE) $(PACKAGE).sty + install -m 755 -d $(TEXMFDIST)/doc/latex/$(PACKAGE) + install -m 644 -t $(TEXMFDIST)/doc/latex/$(PACKAGE) README + install -m 644 -t $(TEXMFDIST)/doc/latex/$(PACKAGE) $(PACKAGE).pdf + +dist: $(PACKAGE).tar.gz +$(PACKAGE).tar.gz: Makefile README $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE).pdf + tar -cjf $@ --transform "s#^#$(PACKAGE)/#" $^ + |