diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/stex/lib/make/Makefile.base.in |
Initial commit
Diffstat (limited to 'macros/latex/contrib/stex/lib/make/Makefile.base.in')
-rw-r--r-- | macros/latex/contrib/stex/lib/make/Makefile.base.in | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/macros/latex/contrib/stex/lib/make/Makefile.base.in b/macros/latex/contrib/stex/lib/make/Makefile.base.in new file mode 100644 index 0000000000..e6d3ec01a5 --- /dev/null +++ b/macros/latex/contrib/stex/lib/make/Makefile.base.in @@ -0,0 +1,49 @@ +sms: $(MODS.sms) + +####################### sTeX utilities ############################## + +$(MODS.sms): %.sms: %.tex $(STEXBINDIR)/sms + $(SMSPROG) $< + +driver: $(DRIVER) +$(DRIVER): $(MODS) $(MODS.pre) $(MODS.post) + cat $(MODS.pre) > $@ + @echo '\\begin{document}' >> $@ + @echo '\\tableofcontents\\newpage' >> $@ +# @for d in $(MODS4all); do (echo "\\\begin{omgroup}{File: $$d.tex} \n\\input{$$d}\n\\\end{omgroup}\n\\\newpage\n" >>$@) done + @for d in $(MODS4all); do (echo "\\\begin{center}\\LARGE File: \\\url{$$d.tex}\\end{center}" >>$@; echo "\\input{$$d}\\\newpage" >>$@) done + cat $(MODS.post) >> $@ + echo '\\end{document}' >> $@ + +# these do not work any more +# graph: +# $(GRAPHPROG) -o graph -f pdf $(SNIPPATHS) all.tex +# +# idtest: $(TARGET) +# $(STEXBINDIR)/idcheck -q slides.tex +# +# struct: $(TARGET) +# $(STEXBINDIR)/modstr < slides.tex +# +# ccheck: $(TARGET) +# latex slides.tex +# $(STEXBINDIR)/idcheck slides.tex +# $(STEXBINDIR)/modstr -s < slides.tex > sstruct +# cat sstruct + +############################# svn ################################# +cleanup: + svn $@ +ci: + svn $@ -m'draining' + +upgrade: + svn upgrade + + +############################# cleaning ################################# +clean: + rm -Rf $(CLEAN) + +distclean: clean + rm -Rf $(DISTCLEAN) |