Diff for platos/prednasky/Lugcon/Makefile between version 1.5 and 1.6
| version 1.5, 2004/03/14 15:10:02 |
version 1.6, 2004/03/25 08:10:48 |
|
|
| # Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
| # All rights reserved. |
# All rights reserved. |
| # |
# |
| # $Platon: Platon.SK/office/prednasky/Lugcon/Makefile,v 1.4 2004/03/12 08:18:38 rajo Exp $ |
# $Platon: Platon.SK/office/prednasky/Lugcon/Makefile,v 1.5 2004/03/14 15:10:02 rajo Exp $ |
| # |
# |
| |
|
| # here specify name of your document |
# here specify name of your document |
| Line 74 ps2pdf__INPUT = $(patsubst %.ps,%.pdf,$( |
|
| Line 74 ps2pdf__INPUT = $(patsubst %.ps,%.pdf,$( |
|
| ps2pdf_OUTPUT = $(patsubst %,$(PREFIX)-%,$(ps2pdf__INPUT)) |
ps2pdf_OUTPUT = $(patsubst %,$(PREFIX)-%,$(ps2pdf__INPUT)) |
| |
|
| #all: ps2pdf |
#all: ps2pdf |
| |
all: timing |
| |
|
| ps2pdf: $(ps2pdf_OUTPUT) |
ps2pdf: $(ps2pdf_OUTPUT) |
| |
|
| Line 82 clean: clean-ps2pdf |
|
| Line 83 clean: clean-ps2pdf |
|
| clean-ps2pdf: |
clean-ps2pdf: |
| rm -f $(ps2pdf_OUTPUT) |
rm -f $(ps2pdf_OUTPUT) |
| |
|
| |
time: timing |
| |
timing: |
| |
@echo -en "[32;1mTIMING:[0m"; echo; |
| |
@awk -v FS="[{}]+" \ |
| |
'BEGIN { sum = 0; count = 0; } \ |
| |
/^[ \t]*\\slideheading/ { count++; printf "[34;1m%g. %s[0;0m\n", count, $$2; } \ |
| |
/^[ \t]*\\TIMING/ { sum += $$2; printf "\tTIMING %g / %g\n", $$2, sum; } \ |
| |
END { printf "TOTAL DURATION = [33;1m%g[0;0m mins\n", sum; } ' 10-Vim-content.tex |
| |
|
| # vim: ts=4 isk+=- ft=make |
# vim: ts=4 isk+=- ft=make |
| # vim600: fdm=marker fdc=3 |
# vim600: fdm=marker fdc=3 |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|