summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/texpower/tpslifonts/Makefile
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/texpower/tpslifonts/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/texpower/tpslifonts/Makefile')
-rw-r--r--macros/latex/contrib/texpower/tpslifonts/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/latex/contrib/texpower/tpslifonts/Makefile b/macros/latex/contrib/texpower/tpslifonts/Makefile
new file mode 100644
index 0000000000..625328b252
--- /dev/null
+++ b/macros/latex/contrib/texpower/tpslifonts/Makefile
@@ -0,0 +1,38 @@
+RM=rm -f
+SHELL=sh
+VERSION=0.1
+JUNKS=*.aux *.toc *.idx *.glo *.dvi *.log *.lof *.ist *.ilg *.ind *.gls *.out *.tmp *~
+
+help:
+ @echo '**********************************************'
+ @echo ' The following targets exist: '
+ @echo ' - all: All targets below '
+ @echo ' - unpack: Unpacks the tpslifonts package '
+ @echo ' - pack: Packs the package '
+ @echo ' - doc: Builds tpslifonts documentation '
+ @echo ' - clean: Remove all generate/junk files '
+ @echo '**********************************************'
+
+unpack:
+ latex tpslifonts.ins
+ @echo '**********************************************'
+ @echo ' To make tpslifonts package documentation '
+ @echo ' % make doc '
+ @echo '**********************************************'
+
+all: unpack doc
+
+doc: tpslifonts.dtx
+ latex tpslifonts.dtx
+ latex tpslifonts.dtx
+ makeindex -s gglo.ist -o tpslifonts.gls tpslifonts.glo
+ makeindex -s gind.ist -o tpslifonts.ind tpslifonts.idx
+ latex tpslifonts.dtx
+
+pack: clean
+ -(cd ..; cp -r tpslifonts tpslifonts-$(VERSION); \
+ tar cvfz tpslifonts-$(VERSION).tgz tpslifonts-$(VERSION))
+
+clean:
+ @$(RM) $(JUNKS) tpslifonts.sty
+ @echo The current directory has been cleaned up.