summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/eplain/base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/eplain/base/Makefile')
-rw-r--r--Master/texmf-dist/doc/eplain/base/Makefile97
1 files changed, 97 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/eplain/base/Makefile b/Master/texmf-dist/doc/eplain/base/Makefile
new file mode 100644
index 00000000000..6ff999f6a73
--- /dev/null
+++ b/Master/texmf-dist/doc/eplain/base/Makefile
@@ -0,0 +1,97 @@
+# Makefile for Eplain. This file is public domain.
+
+VERSION = 3.0
+SOURCES = arrow.tex btxmac.tex ifpdf.sty path.sty texnames.sty xeplain.tex
+SUPPORT = add-date add-version AUTHORS ChangeLog COPYING etex.tex fix-checksum \
+ INSTALL Makefile merge NEWS PROJECTS README
+MANUALS = $(patsubst %,doc/%,Makefile *.texi btxdoc.bib btxdoc.tex texinfo.tex)
+TESTS = $(patsubst %,test/%,*.tex *.bib *.map *.mst *.eps)
+UTILS = util/idxuniq util/trimsee
+
+DIST_FILES = eplain.tex doc/eplain.info $(SOURCES) $(SUPPORT) $(MANUALS) \
+ $(TESTS) $(UTILS)
+DIST_NAME = eplain-$(VERSION)
+
+TAR_FLAGS =
+GZIP_FLAGS =
+
+
+.PHONY: default alldoc doc dvi pdf html info btxdoc dist
+.PHONY: clean mostlyclean distclean maintainer-clean
+.DELETE_ON_ERROR:
+
+
+default: eplain.tex
+
+eplain.tex: merge $(SOURCES)
+ version=$(VERSION) ./merge
+
+etex.fmt: eplain.tex
+ rm -f etex.aux
+ cp /dev/null etex.aux
+ initex \&plain etex | grep -v '^\\font'
+
+
+alldoc:
+ cd doc && make
+
+doc:
+ cd doc && make doc
+
+dvi:
+ cd doc && make dvi
+
+pdf:
+ cd doc && make pdf
+
+html:
+ cd doc && make html
+
+info doc/eplain.info:
+ cd doc && make info
+
+btxdoc:
+ cd doc && make btxdoc
+
+INSTALL:
+ cd doc && make ../INSTALL
+
+
+dist: $(DIST_FILES)
+ @rm -rf $(DIST_NAME)
+ @echo D $(DIST_NAME)
+ @mkdir $(DIST_NAME)
+ @for file in $(DIST_FILES); do \
+ echo A $(DIST_NAME)/$$file; \
+ cp --parents $$file $(DIST_NAME); \
+ done
+ @echo C $(DIST_NAME).tar.gz
+ @tar -c $(TAR_FLAGS) $(DIST_NAME) | gzip $(GZIP_FLAGS) > $(DIST_NAME).tar.gz
+ @rm -rf $(DIST_NAME)
+
+
+define clean-cmds
+rm -rf $(DIST_NAME) etex.aux etex.log
+endef
+
+define distclean-cmds
+$(clean-cmds)
+rm -f etex.fmt $(DIST_NAME).tar.gz
+endef
+
+define maintainer-clean-cmds
+$(distclean-cmds)
+rm -f eplain.tex
+endef
+
+clean mostlyclean:
+ $(clean-cmds)
+ cd doc && make $@
+
+distclean:
+ $(distclean-cmds)
+ cd doc && make distclean
+
+maintainer-clean:
+ $(maintainer-clean-cmds)
+ cd doc && make maintainer-clean