summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-04 17:25:49 +0000
committerKarl Berry <karl@freefriends.org>2010-06-04 17:25:49 +0000
commita7c32087bb038464128a9129a22e3cbb5dd4ce27 (patch)
tree745465d32b733b7acc8c2c17427b083468dbd574 /Master/texmf-dist/doc
parent67a9534d8f552d4ad1afb4c68e40b93cf5a51aea (diff)
photo non-update
git-svn-id: svn://tug.org/texlive/trunk@18739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/photo/Makefile72
-rw-r--r--Master/texmf-dist/doc/latex/photo/photo_test.lop26
2 files changed, 72 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/latex/photo/Makefile b/Master/texmf-dist/doc/latex/photo/Makefile
new file mode 100644
index 00000000000..e42c9aee38e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/photo/Makefile
@@ -0,0 +1,72 @@
+PKGNAME=photo
+VERSION=`grep '\[[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] *v' $(PKGNAME).dtx | sed 's/^[^[]*[^v]*v\\([^ ]*\\).*/\\1/'`
+SRCDIR=$(PKGNAME)
+DISTFILES=\
+ $(SRCDIR)/Makefile \
+ $(SRCDIR)/$(PKGNAME).dtx \
+ $(SRCDIR)/$(PKGNAME).ins \
+ $(SRCDIR)/$(PKGNAME).pdf \
+ $(SRCDIR)/$(PKGNAME)_test.tex
+
+TEXMFLOCAL:=`kpsewhich --expand-path='$$TEXMFLOCAL'`
+STYDIR=$(TEXMFLOCAL)/tex/latex/$(PKGNAME)
+DOCDIR=$(TEXMFLOCAL)/doc/latex/$(PKGNAME)
+
+
+.SUFFIXES:
+.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf
+
+.ins.sty:
+ latex $<
+
+.dtx.dvi:
+ latex $<
+ latex $<
+ makeindex -s gind.ist $(*D)/$(*F).idx
+ makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo
+ latex $<
+ latex $<
+
+.dvi.ps:
+ dvips -o $(*D)/$(*F).ps $(*D)/$(*F)
+
+.dtx.pdf:
+ pdflatex $<
+
+
+all: $(PKGNAME).sty $(PKGNAME).dvi $(PKGNAME).ps $(PKGNAME).pdf
+
+tarfile=$(PKGNAME)-$(VERSION).tar.gz
+tar:
+ @echo "**************************"
+ @echo Creating: $(tarfile)
+ @echo "**************************"
+ @-rm -f $(tarfile)
+ tar -cz -C .. --owner 0 --group 0 --mode=a+r -f $(tarfile) $(DISTFILES)
+
+install: all
+ if [ ! -d $(STYDIR) ]; then mkdirhier $(STYDIR); fi
+ if [ ! -d $(DOCDIR) ]; then mkdirhier $(DOCDIR); fi
+ for file in *.sty; do \
+ install -m644 $$file $(STYDIR); \
+ done
+ for file in *.dvi; do \
+ install -m644 $$file $(DOCDIR); \
+ done
+ mktexlsr
+
+clean:
+ @-rm -f $(PKGNAME).glo $(PKGNAME).gls $(PKGNAME).idx $(PKGNAME).ilg
+ @-rm -f $(PKGNAME).ind $(PKGNAME).aux $(PKGNAME).toc
+# @-rm -f $(PKGNAME).drv $(PKGNAME).log
+ @-rm -f *~
+
+distclean: clean
+ @-rm -f $(PKGNAME).drv $(PKGNAME).log
+ @-rm -f $(PKGNAME).sty $(PKGNAME).dvi \
+ $(PKGNAME).ps $(PKGNAME).pdf $(PKGNAME).ps.pdf
+
+
+$(PKGNAME).sty: $(PKGNAME).ins $(PKGNAME).dtx
+$(PKGNAME).dvi: $(PKGNAME).sty
+$(PKGNAME).pdf: $(PKGNAME).ins $(PKGNAME).dtx $(PKGNAME).dvi
diff --git a/Master/texmf-dist/doc/latex/photo/photo_test.lop b/Master/texmf-dist/doc/latex/photo/photo_test.lop
deleted file mode 100644
index cc0a14c57e5..00000000000
--- a/Master/texmf-dist/doc/latex/photo/photo_test.lop
+++ /dev/null
@@ -1,26 +0,0 @@
-\contentsline {photo}{\numberline {1}{\ignorespaces placement left. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
-\contentsline {photo}{\numberline {2}{\ignorespaces placement right. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
-\contentsline {photo}{\numberline {3}{\ignorespaces placement inside. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
-\contentsline {photo}{\numberline {4}{\ignorespaces placement outside. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
-\contentsline {photo}{\numberline {5}{\ignorespaces placement outside. abc abc abc abc abc abc abc }}{2}
-\contentsline {photo}{\numberline {6}{\ignorespaces placement outside. t caption. abc abc abc abc abc abc abc }}{3}
-\contentsline {photo}{\numberline {7}{\ignorespaces placement outside. c caption. abc abc abc abc abc abc abc }}{3}
-\contentsline {photo}{\numberline {8}{\ignorespaces placement outside. short c caption.}}{3}
-\contentsline {photo}{\numberline {9}{\ignorespaces placement outside. b caption. abc abc abc abc abc abc abc }}{3}
-\contentsline {photo}{\numberline {10}{\ignorespaces placement inside. t caption. u. abc abc abc abc abc abc abc }}{3}
-\contentsline {photo}{\numberline {11}{\ignorespaces placement inside. c caption. u. abc abc abc abc abc abc abc }}{3}
-\contentsline {photo}{\numberline {12}{\ignorespaces inside. short c caption. u.}}{3}
-\contentsline {photo}{\numberline {13}{\ignorespaces placement inside. b caption. u. abc abc abc abc abc abc abc }}{3}
-\contentsline {photo}{\numberline {14}{\ignorespaces photo l. t caption. taker s. abc abc abc abc abc abc abc }}{4}
-\contentsline {photo}{\numberline {15}{\ignorespaces photo l. c caption. taker s. abc abc abc abc abc abc abc }}{4}
-\contentsline {photo}{\numberline {16}{\ignorespaces photo l. c caption. taker s.}}{4}
-\contentsline {photo}{\numberline {17}{\ignorespaces photo l. b caption. taker s. abc abc abc abc abc abc abc }}{4}
-\contentsline {photo}{\numberline {18}{\ignorespaces photo r. t caption. taker s. abc abc abc abc abc abc abc }}{4}
-\contentsline {photo}{\numberline {19}{\ignorespaces photo r. c caption. taker s. abc abc abc abc abc abc abc }}{4}
-\contentsline {photo}{\numberline {20}{\ignorespaces photo r. c caption. taker s.}}{4}
-\contentsline {photo}{\numberline {21}{\ignorespaces photo r. b caption. taker s. abc abc abc abc abc abc abc }}{4}
-\contentsline {photo}{\numberline {22}{\ignorespaces defaults.}}{5}
-\contentsline {photo}{\numberline {23}{\ignorespaces lop caption}}{5}
-\contentsline {photo}{\numberline {24}{\ignorespaces Photo environment. i. caption for this.}}{5}
-\contentsline {photo}{\numberline {25}{\ignorespaces Photo env lop cap}}{5}
-\contentsline {photo}{\numberline {26}{\ignorespaces defaults again.}}{5}