All pastes #949501 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-19 21:16 UTC
rendered paste body
[herrold@centos-5 commands]$ cat Makefile ; find -name '*.tex'
#
#
#       http://www.hsrl.rutgers.edu/ug/make_help.html
#

ALL = account.tex acct.tex book.tex bulk.tex commands.tex       \
        copyrightpage.tex data.tex dbms.tex                     \
        exec.tex figures.tex find.tex help.tex history.tex      \
        introduction.tex license.tex                            \
        link.tex list.tex load.tex look.tex news.tex next.tex   \
        open.tex order.tex parameters.tex                       \
        past.tex ping.tex quit.tex scan.tex shim--help.tex      \
        template.tex tick.tex todo.tex                          \
        transmit.tex verb.tex wait.tex wake.tex wild.tex        \
        wire.tex xmit.tex

OBJ = $(OBJS:.tex=)

LATEX = commands

all:                    ;
        make clean ; make docs ; \
        [ -e $(LATEX).pdf ] && echo "Should I: scp $(LATEX).pdf mailhub.owlriver.net:~/public_html/ " ;  \
        [ -e $(LATEX).pdf ] && echo "    at: http://www.herrold.com/$(LATEX).pdf " ; \
        echo " " ; \
        echo "Consider running: ls .." ; \
        echo "                  ./dump-help.sh (current)  to refresh help dump" ;
#       [ ! -e $(LATEX).pdf ] && echo "Error: No  new $(LATEX).pdf resulted "

clean:                  ;
        @$(RM) -f *.dvi *.ps *.pdf *.ind *.ilg *.idx ; \
        touch $(LATEX).idx


#
#       makeindex is .idx -> .ind, with log in .ilg -- check
#               .ilg occasionally for errors
#

docs:                   ;
                        touch     $(LATEX).ind
                        latex     $(LATEX)
                        makeindex $(LATEX)
                        latex     $(LATEX)
                        dvips  $(LATEX).dvi -o $(LATEX).ps
                        ps2pdf $(LATEX).ps     $(LATEX).pdf
#
#
#                       gs -q -dSAFER -dNOPAUSE -dBATCH \
#                               -sTitle="trading shim command reference" \
#                               -sOutputFile=$(LATEX).pdf \
#                               -sDEVICE=pdfwrite -c .setpdfwrite \
#                               -f $(LATEX).ps


#       adding options to a PDF -- use gs
#
#     gs -q -dSAFER -dNOPAUSE -dBATCH -sOutputFile=file.pdf [more options] \
#            -sDEVICE=pdfwrite -c .setpdfwrite -f source1.ps [more files]


check:                  ;
                        make clean ; make docs ; \
                        ( latex     $(LATEX) 2>&1 ) | grep undefined  \
                                || /bin/true
                        ( latex     $(LATEX) 2>&1 ) | \
                                grep 'multiply defined' | \
                                grep -v 'dump-help' | grep -v 'command-' \
                                || /bin/true

#                       latex  -interaction=batchmode $(LATEX).tex && \
#
./aaa.tex
./account.tex
./acct.tex
./addCID.tex
./appx-shell.tex
./bibliography.tex
./bind.tex
./book.tex
./bulk.tex
./cash.tex
./commands.tex
./conclusion.tex
./contest.tex
./copyrightpage.tex
./data.tex
./dbms.tex
./done.tex
./dump-help-acct.tex
./dump-help-args.tex
./dump-help-book.tex
./dump-help-cmds.tex
./dump-help-help.tex
./dump-help-info.tex
./dump-help-link.tex
./dump-help-list.tex
./dump-help-load.tex
./dump-help-mode.tex
./dump-help-news.tex
./dump-help-next.tex
./dump-help-open.tex
./dump-help-opts.tex
./dump-help-past.tex
./dump-help-ping.tex
./dump-help-quit.tex
./dump-help-read.tex
./dump-help-temp.tex
./dump-help-tick.tex
./dump-help-verb.tex
./dump-help-wait.tex
./dump-help-wake.tex
./dump-help-wire.tex
./eval.tex
./exec.tex
./exercise.tex
./feed.tex
./figures.tex
./find.tex
./help.tex
./history.tex
./info.tex
./introduction.tex
./license.tex
./link.tex
./list.tex
./loadCID.tex
./load.tex
./look.tex
./luBrowser.tex
./luCID.tex
./luHist.tex
./manual.tex
./mode.tex
./news.tex
./next.tex
./open.tex
./opts.tex
./orders.tex
./order.tex
./parameters.tex
./part-conclusion.tex
./part-stubs.tex
./part-syntax.tex
./part-this-document.tex
./part-this-shim-help.tex
./part-this-shim-modes.tex
./part-this-shim-options.tex
./part-this-shim-rcfile.tex
./part-troubleshooting.tex
./part-tutorial.tex
./past.tex
./ping.tex
./quit.tex
./read.tex
./scan.tex
./shim--help-annex.tex
./shim--help.tex
./signal.tex
./sign.tex
./tables.tex
./template.tex
./tick.tex
./todo.tex
./transmit.tex
./verb.tex
./wait.tex
./wake.tex
./wild.tex
./wire.tex
./xmit.tex
./c_r_m_c.tex
./dump-help-init.tex
./common-errors.tex
./shimrc.tex
[herrold@centos-5 commands]$ du -h
7.5M    .
[herrold@centos-5 commands]$