summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-09-22 13:01:51 +0200
committerven <vendethiel@hotmail.fr>2015-09-22 13:01:51 +0200
commit6cdba66ef506bfdf77efd12690f892ba7e3f0d82 (patch)
tree71926756280ee05673fa7503444207816b3ae37c
parente2b7d19eae4fb2ad9af41dbd3b69f5a078540d7f (diff)
parent3fcea9a3fd69be5f2b55c104c27252d58e7a7cee (diff)
Merge pull request #1244 from robochat/master
fix two small bugs - tab error and quotation marks
-rw-r--r--make.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/make.html.markdown b/make.html.markdown
index 9aca2c20..75543dcd 100644
--- a/make.html.markdown
+++ b/make.html.markdown
@@ -97,7 +97,7 @@ process: ex1.txt file0.txt
# Can teach make how to convert certain files into other files.
%.png: %.svg
- inkscape --export-png %.svg
+ inkscape --export-png $^
# Pattern rules will only do anything if make decides to create the \
target.
@@ -105,7 +105,7 @@ target.
# Directory paths are normally ignored when matching pattern rules. But
# make will try to use the most appropriate rule available.
small/%.png: %.svg
- inkscape --export-png --export-dpi 30 %.svg
+ inkscape --export-png --export-dpi 30 $^
# make will use the last version for a pattern rule that it finds.
%.png: %.svg
@@ -113,14 +113,14 @@ small/%.png: %.svg
# However make will use the first pattern rule that can make the target
%.png: %.ps
- @echo this rule is not chosen if %.svg and %.ps are both present
+ @echo this rule is not chosen if *.svg and *.ps are both present
# make already has some pattern rules built-in. For instance, it knows
# how to turn *.c files into *.o files.
# Older makefiles might use suffix rules instead of pattern rules
.png.ps:
- @echo this rule is similar to a pattern rule.
+ @echo this rule is similar to a pattern rule.
# Tell make about the suffix rule
.SUFFIXES: .png
@@ -222,7 +222,7 @@ report:
ifeq ($(sport),tennis)
@echo 'game, set, match'
else
- @echo 'They think it's all over; it is now'
+ @echo "They think it's all over; it is now"
endif
# There are also ifneq, ifdef, ifndef