File:  [Local Repository] / processmail / Makefile
Revision 3.1: download - view: text, annotated - select for diffs - revision graph
Sun Mar 23 18:08:26 2008 UTC (16 years, 3 months ago) by boris
Branches: MAIN
CVS tags: HEAD
Cleaned makefile

    1: KULICHKI=kulichki.com:public_html/boris/processmail
    2: PERLSCRIPTS = collection.pl \
    3: 	createtable.pl \
    4: 	parameters.pl\
    5: 	processmail.pl\
    6: 	reminder.pl \
    7: 	subroutines.pl
    8: 
    9: TEX = process.tex
   10: 
   11: README = README
   12: 
   13: PDF=${TEX:%.tex=%.pdf}
   14: 
   15: ZIP=processmail.zip processmail_windows.zip index.html
   16: 
   17: all:  ${PDF} ${PERLSCRIPTS}
   18: 
   19: 
   20: %.pdf:  %.tex
   21: 	$(RM) $*.toc
   22: 	pdflatex $*
   23: 	- bibtex $*
   24: 	while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log || \
   25: 	grep -q '^Package pdfscreen Warning: TOC file not available' $*.log ) \
   26: 	do pdflatex $*; done
   27: 
   28: $(ZIP):  ${PERLSCRIPTS} ${README} ${TEX}
   29: 	chmod a+x ${PERLSCRIPTS}
   30: 	zip $(ZIP)  ${PERLSCRIPTS} ${README} ${TEX} 
   31: 
   32: zip:  $(ZIP)
   33: 
   34: deliver: $(ZIP) 
   35: 	scp $(ZIP) $(KULICHKI)
   36: 
   37: clean:
   38: 	$(RM) *.aux *.bbl *.dvi *.log *.out *.toc *.blg *.lof *.lot $(PDF) processmail.zip

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>