[GRASS-SVN] r55686 - in grass-promo/grasslecture: 20130208_Genova_G7 20130411_Vienna_G7 20130416_Trento_G7
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 10 06:59:46 PDT 2013
Author: ychemin
Date: 2013-04-10 06:59:46 -0700 (Wed, 10 Apr 2013)
New Revision: 55686
Added:
grass-promo/grasslecture/20130208_Genova_G7/Makefile
grass-promo/grasslecture/20130411_Vienna_G7/Makefile
grass-promo/grasslecture/20130416_Trento_G7/Makefile
Modified:
grass-promo/grasslecture/20130208_Genova_G7/tmpnotessettings.tex
grass-promo/grasslecture/20130411_Vienna_G7/tmpnotessettings.tex
grass-promo/grasslecture/20130416_Trento_G7/tmpnotessettings.tex
Log:
Added Makefile for all lectures
Added: grass-promo/grasslecture/20130208_Genova_G7/Makefile
===================================================================
--- grass-promo/grasslecture/20130208_Genova_G7/Makefile (rev 0)
+++ grass-promo/grasslecture/20130208_Genova_G7/Makefile 2013-04-10 13:59:46 UTC (rev 55686)
@@ -0,0 +1,39 @@
+# autor: Martin Landa, Vaclav Petras
+# do grepu by melo prijit neco jako labes may change (viz doxygen latex makefile)
+
+FILE=G7_GIPE
+
+SVGFILES = $(shell ls *.svg)
+SVGPDF = $(patsubst %.svg, %.pdf, $(SVGFILES))
+
+all: $(FILE).pdf
+
+$(FILE).pdf: *.tex Makefile
+ make pdf
+ @if grep "No file $(FILE).[aux|toc|nav]" $(FILE).log >/dev/null 2>&1 ; then \
+ make pdf; \
+ fi
+
+pdf: fig
+ #sed -i 's/\\notestrue/%\\notestrue/g' $(FILE).tex
+ echo "%\\\\notestrue" > tmpnotessettings.tex
+ pdflatex $(FILE).tex
+
+notes: fig
+ #sed -i 's/%\\notestrue/\\notestrue/g' $(FILE).tex
+ echo "\\\\notestrue" > tmpnotessettings.tex
+ pdflatex $(FILE).tex
+ pdflatex handoutpdfpages.tex
+
+fig: $(SVGPDF)
+
+$(SVGPDF): %.pdf: %.svg
+ inkscape -z --export-pdf=$@ --export-area-drawing --export-dpi=300 $<
+
+clean:
+ rm -f *~ *.aux *.log *.out *.toc *.nav *.snm *.vrb
+ rm -f $(SVGPDF)
+
+distclean:
+ make clean
+ rm -f $(FILE).pdf
Modified: grass-promo/grasslecture/20130208_Genova_G7/tmpnotessettings.tex
===================================================================
--- grass-promo/grasslecture/20130208_Genova_G7/tmpnotessettings.tex 2013-04-10 13:27:59 UTC (rev 55685)
+++ grass-promo/grasslecture/20130208_Genova_G7/tmpnotessettings.tex 2013-04-10 13:59:46 UTC (rev 55686)
@@ -1 +1 @@
-% \notestrue
+%\notestrue
Added: grass-promo/grasslecture/20130411_Vienna_G7/Makefile
===================================================================
--- grass-promo/grasslecture/20130411_Vienna_G7/Makefile (rev 0)
+++ grass-promo/grasslecture/20130411_Vienna_G7/Makefile 2013-04-10 13:59:46 UTC (rev 55686)
@@ -0,0 +1,39 @@
+# autor: Martin Landa, Vaclav Petras
+# do grepu by melo prijit neco jako labes may change (viz doxygen latex makefile)
+
+FILE=ETb
+
+SVGFILES = $(shell ls *.svg)
+SVGPDF = $(patsubst %.svg, %.pdf, $(SVGFILES))
+
+all: $(FILE).pdf
+
+$(FILE).pdf: *.tex Makefile
+ make pdf
+ @if grep "No file $(FILE).[aux|toc|nav]" $(FILE).log >/dev/null 2>&1 ; then \
+ make pdf; \
+ fi
+
+pdf: fig
+ #sed -i 's/\\notestrue/%\\notestrue/g' $(FILE).tex
+ echo "%\\\\notestrue" > tmpnotessettings.tex
+ pdflatex $(FILE).tex
+
+notes: fig
+ #sed -i 's/%\\notestrue/\\notestrue/g' $(FILE).tex
+ echo "\\\\notestrue" > tmpnotessettings.tex
+ pdflatex $(FILE).tex
+ pdflatex handoutpdfpages.tex
+
+fig: $(SVGPDF)
+
+$(SVGPDF): %.pdf: %.svg
+ inkscape -z --export-pdf=$@ --export-area-drawing --export-dpi=300 $<
+
+clean:
+ rm -f *~ *.aux *.log *.out *.toc *.nav *.snm *.vrb
+ rm -f $(SVGPDF)
+
+distclean:
+ make clean
+ rm -f $(FILE).pdf
Modified: grass-promo/grasslecture/20130411_Vienna_G7/tmpnotessettings.tex
===================================================================
--- grass-promo/grasslecture/20130411_Vienna_G7/tmpnotessettings.tex 2013-04-10 13:27:59 UTC (rev 55685)
+++ grass-promo/grasslecture/20130411_Vienna_G7/tmpnotessettings.tex 2013-04-10 13:59:46 UTC (rev 55686)
@@ -1 +1 @@
-% \notestrue
+%\notestrue
Added: grass-promo/grasslecture/20130416_Trento_G7/Makefile
===================================================================
--- grass-promo/grasslecture/20130416_Trento_G7/Makefile (rev 0)
+++ grass-promo/grasslecture/20130416_Trento_G7/Makefile 2013-04-10 13:59:46 UTC (rev 55686)
@@ -0,0 +1,39 @@
+# autor: Martin Landa, Vaclav Petras
+# do grepu by melo prijit neco jako labes may change (viz doxygen latex makefile)
+
+FILE=crowdsourceET
+
+SVGFILES = $(shell ls *.svg)
+SVGPDF = $(patsubst %.svg, %.pdf, $(SVGFILES))
+
+all: $(FILE).pdf
+
+$(FILE).pdf: *.tex Makefile
+ make pdf
+ @if grep "No file $(FILE).[aux|toc|nav]" $(FILE).log >/dev/null 2>&1 ; then \
+ make pdf; \
+ fi
+
+pdf: fig
+ #sed -i 's/\\notestrue/%\\notestrue/g' $(FILE).tex
+ echo "%\\\\notestrue" > tmpnotessettings.tex
+ pdflatex $(FILE).tex
+
+notes: fig
+ #sed -i 's/%\\notestrue/\\notestrue/g' $(FILE).tex
+ echo "\\\\notestrue" > tmpnotessettings.tex
+ pdflatex $(FILE).tex
+ pdflatex handoutpdfpages.tex
+
+fig: $(SVGPDF)
+
+$(SVGPDF): %.pdf: %.svg
+ inkscape -z --export-pdf=$@ --export-area-drawing --export-dpi=300 $<
+
+clean:
+ rm -f *~ *.aux *.log *.out *.toc *.nav *.snm *.vrb
+ rm -f $(SVGPDF)
+
+distclean:
+ make clean
+ rm -f $(FILE).pdf
Modified: grass-promo/grasslecture/20130416_Trento_G7/tmpnotessettings.tex
===================================================================
--- grass-promo/grasslecture/20130416_Trento_G7/tmpnotessettings.tex 2013-04-10 13:27:59 UTC (rev 55685)
+++ grass-promo/grasslecture/20130416_Trento_G7/tmpnotessettings.tex 2013-04-10 13:59:46 UTC (rev 55686)
@@ -1 +1 @@
-% \notestrue
+%\notestrue
More information about the grass-commit
mailing list