IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 15, 2016, 3:48:40 PM (10 years ago)
Author:
eugene
Message:

make makefile system a little more flexible; make tarballs automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/release.2015/Makefile.Common

    r39866 r39868  
    77PS2PDF_OPTS = "-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode"
    88
     9ifeq ($(DO_PDFLATEX),1)
     10     MY_LATEX  = $(PDFLATEX)
     11else
     12     MY_LATEX  = $(PSLATEX)
     13endif
     14
    915%.pdf: %.tex
    10         $(PSLATEX) $*.tex
    11         $(BIBTEX) $*
    12         $(PSLATEX) $*.tex
    13 #       thumbpdf --modes=dvips $*.pdf
    14 #       $(PSLATEX) $*.tex
    15         dvips -z -t letter -o $*.ps $*.dvi
    16         ps2pdf $(PS2PSF_OPT) $*.ps $*.pdf
     16        $(MY_LATEX) $*.tex
     17        if [ $(DO_BIBTEX) -eq 1 ]; then $(BIBTEX) $*; fi
     18        $(MY_LATEX) $*.tex
     19        if [ $(DO_BIBTEX) -eq 1  ]; then $(MY_LATEX) $*.tex; fi
     20        thumbpdf --modes=dvips $*.pdf
     21        $(MY_LATEX) $*.tex
     22        if [ $(DO_PDFLATEX) -eq 0 ]; then dvips -z -t letter -o $*.ps $*.dvi; fi
     23        if [ $(DO_PDFLATEX) -eq 0 ]; then ps2pdf $(PS2PDF_OPTS) $*.ps $*.pdf; fi
    1724#       @rm -f $*.ps $*.dvi $*.aux $*.log $*.tbr $*.tbd $*.toc $*.tpm $*.lof body.tmp head.tmp
    1825
     26%.tgz:
     27        tar --transform 's%inputs/%%' -zcf $@ $(FILES)
    1928clean :
    2029        $(RM) *.bib *.log *.dvi *.aux *.toc *.tbd *.tbr *.tpm *.lof *.out *~ core body.tmp head.tmp
     
    2433
    2534empty: clean
     35
     36foo:
     37        @echo all: $^
     38        @echo 1st: $<
     39        @echo file: $@
     40        @echo word: $*
Note: See TracChangeset for help on using the changeset viewer.