[QGIS Commit] r8922 - docs/trunk/english_us/user_guide/plugins_maplayer_images

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jul 26 23:02:26 EDT 2008


Author: taraathan
Date: 2008-07-26 23:02:26 -0400 (Sat, 26 Jul 2008)
New Revision: 8922

Added:
   docs/trunk/english_us/user_guide/plugins_maplayer_images/Makefile
Log:


Added: docs/trunk/english_us/user_guide/plugins_maplayer_images/Makefile
===================================================================
--- docs/trunk/english_us/user_guide/plugins_maplayer_images/Makefile	                        (rev 0)
+++ docs/trunk/english_us/user_guide/plugins_maplayer_images/Makefile	2008-07-27 03:02:26 UTC (rev 8922)
@@ -0,0 +1,40 @@
+# makefile to convert figures into eps format for the book
+
+# Comments from Michel Wurtz:
+# You will notice that the list given is the list of targets.  "all" just
+# refer to this list.  The most important rule is the next rule, that give
+# the generic rule for transforming a .fig into a .eps file.  Note the use
+# of % (define the couple target:source) and the use of
+# $< (source postfix, here .fig) and $@ (target postfix, here .eps)
+
+# with .eps extension:
+# JPG=qgis_icon_new_verylarge.eps\
+#	nextfile.eps
+
+PNG=matrix1.eps\
+	
+##### TARGETS #####
+
+all: $(PNG) $(JPG)
+	if [ ! -d ../finalpix/ ]; then mkdir ../finalpix; fi
+	#do not use move (mv):
+	cp *.eps ../finalpix/
+
+#$(EPS):	%.eps: %.fig
+#	fig2dev -L eps $< > $@
+
+#$(FIGPNG): %.png: %.fig
+#	fig2dev -L png -m 2 $< > $@
+
+$(PNG): %.eps: %.png
+	# Workaround for PDF
+	#convert -geometry 300x -depth 1 $< $@
+	convert $< $@ 
+
+$(JPG): %.eps: %.jpg
+	# Workaround for PDF
+	#convert -geometry 300x -depth 1 $< $@
+	convert $< $@
+
+clean:
+	rm -f *.bak *~ *.pdf $(PNG) $(JPG)


Property changes on: docs/trunk/english_us/user_guide/plugins_maplayer_images/Makefile
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native



More information about the QGIS-commit mailing list