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 17:54:20 +0100
commita4683812ed8acd071219b162b44adde9aaa9fda9 (patch)
tree85342ee3cf39cf5c55af3e54c35c11a59a4c6c20
parent8580b9717f830db695580363053bc3a3442731fc (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/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/manuals/Makefile b/doc/manuals/Makefile
index f2c873a6..73430fc6 100644
--- a/doc/manuals/Makefile
+++ b/doc/manuals/Makefile
@@ -22,9 +22,13 @@ include $(TOPDIR)/build/Makefile.inc
osmobts-usermanual.pdf: chapters/*.adoc
clean:
- rm -rf $(cleanfiles)
- rm -rf osmobts-abis__*.{svg,png,check}
- rm -rf osmobts-usermanual__*.{svg,png,check}
+ -rm -rf $(cleanfiles)
+ -rm osmobts-abis__*.png
+ -rm osmobts-abis__*.svg
+ -rm osmobts-usermanual__*.png
+ -rm osmobts-usermanual__*.svg
+ -rm osmobts-abis*.check
+ -rm osmobts-usermanual*.check
gen-bts-vty-docbook: FORCE
$(call command,xsltproc -o generated/combined1.xml \