aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-10-17 06:47:22 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-11-27 18:30:23 +0100
commit5c8f1ccff0a2c8d7ba1b4cf8627905b0bf7e16c8 (patch)
tree290fe010f5a80db4b24fa6fdc5fb444dc88e77a0
parent6bc5c2aac6caba5f250788e0be723ab987d17032 (diff)
fix 'make clean': shell glob, ignore failure
Unfortunately a glob like osmo-x__*.{svg,png} doesn't work, so have the suffixes in separate globs. Add dashes to indicate that failure should be ignored. Change-Id: I6bc4d9ea72b43a573acbc860c23397f748de2c7b
-rw-r--r--doc/manuals/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/manuals/Makefile b/doc/manuals/Makefile
index 1f06183c..a83b909a 100644
--- a/doc/manuals/Makefile
+++ b/doc/manuals/Makefile
@@ -23,9 +23,11 @@ osmopcu-gb.pdf: gb/*.adoc gb/*.msc
osmopcu-usermanual.pdf: chapters/*.adoc
clean:
- rm -rf $(cleanfiles)
- rm -rf gen-vty-docbook
- rm -rf osmopcu-usermanual__*.{svg,png,check}
+ -rm -rf $(cleanfiles)
+ -rm -rf gen-vty-docbook
+ -rm osmopcu-usermanual__*.png
+ -rm osmopcu-usermanual__*.svg
+ -rm osmopcu-usermanual.check
gen-vty-docbook: FORCE
$(call command,xsltproc -o generated/combined1.xml \