[COMMIT osv-apps master] Xapps/fonts: fix makefile to handle gracefully missing usr.manifest when clean

1 view
Skip to first unread message

Commit Bot

unread,
May 12, 2020, 6:44:51 PM5/12/20
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

Xapps/fonts: fix makefile to handle gracefully missing usr.manifest when clean

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/Xapps/Makefile b/Xapps/Makefile
--- a/Xapps/Makefile
+++ b/Xapps/Makefile
@@ -17,4 +17,4 @@ module:
echo '/xlogo: $(xlogo_path)' >> usr.manifest

clean:
- rm usr.manifest
+ rm -f usr.manifest
diff --git a/fonts/Makefile b/fonts/Makefile
--- a/fonts/Makefile
+++ b/fonts/Makefile
@@ -8,4 +8,4 @@ usr.manifest:
grep -il liberation /etc/fonts/conf.d/* | awk '{ printf "%s: %s\n", $$0, $$0 }' >> usr.manifest

clean:
- rm usr.manifest
+ rm -f usr.manifest
Reply all
Reply to author
Forward
0 new messages