summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hyper/Makefile-Unix
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/hyper/Makefile-Unix
Initial commit
Diffstat (limited to 'macros/latex/contrib/hyper/Makefile-Unix')
-rw-r--r--macros/latex/contrib/hyper/Makefile-Unix71
1 files changed, 71 insertions, 0 deletions
diff --git a/macros/latex/contrib/hyper/Makefile-Unix b/macros/latex/contrib/hyper/Makefile-Unix
new file mode 100644
index 0000000000..b972d5df86
--- /dev/null
+++ b/macros/latex/contrib/hyper/Makefile-Unix
@@ -0,0 +1,71 @@
+# UNIX-Makefile
+
+### variables to configure for the local system
+
+#installation directories
+TEXINPUTS = .
+TEXDOCS_SRC = .
+TEXDOCS_DVI = $(TEXDOCS_SRC)
+TEXDOCS_PS = $(TEXDOCS_SRC)
+
+#executables
+LATEX = latex
+DVIPS = dvips -z -o
+
+THEMAKE = $(MAKE) -f Makefile-Unix
+
+COPY = cp
+ECHO = echo
+MKDIR = mkdir
+RM = /bin/rm -rf
+
+### do not change anything beyond this line
+
+PACKAGE = hyper
+
+default: $(PACKAGE).dvi
+
+$(PACKAGE).dvi: $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).dtx
+
+$(PACKAGE).ps: $(PACKAGE).dvi
+ $(DVIPS) $(PACKAGE).ps $(PACKAGE).dvi
+
+files: $(PACKAGE).ins $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).ins
+
+install:
+ $(THEMAKE) -s install-info
+
+install-info:
+ $(ECHO) "After configuring the Makefile call:"
+ $(ECHO) " $(THEMAKE) install-package to install the package (without sources)"
+ $(ECHO) " $(THEMAKE) install-doc to install the documentation sources"
+ $(ECHO) " $(THEMAKE) install-dvi to install the documentation in dvi-format"
+ $(ECHO) " $(THEMAKE) install-ps to install the documentation in ps-format"
+ $(ECHO) " $(THEMAKE) install-all to install the package and the documentation"
+
+install-package: files
+ -$(MKDIR) $(TEXINPUTS)
+ $(COPY) *.sty *.hyp $(TEXINPUTS)/
+ $(COPY) contrib/*.hyp $(TEXINPUTS)/
+ $(COPY) scontrib/*.hyp $(TEXINPUTS)/
+
+install-doc: $(PACKAGE).dtx
+ - $(MKDIR) $(TEXDOCS_SRC)
+ $(COPY) $(PACKAGE).dtx $(TEXDOCS_SRC)/
+
+install-dvi: $(PACKAGE).dvi
+ -$(MKDIR) $(TEXDOCS_DVI)
+ $(COPY) $(PACKAGE).dvi $(TEXDOCS_DVI)/
+
+install-ps: $(PACKAGE).ps
+ -$(MKDIR) $(TEXDOCS_PS)
+ $(COPY) $(PACKAGE).ps $(TEXDOCS_PS)/
+
+install-all: install-package install-doc install-dvi install-ps
+
+clean:
+ $(RM) *.aux *.cfg *.dvi *.hyp *.log *.ps *.sty *.toc