summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-04-18 23:11:58 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-04-18 23:12:38 +0200
commit633e4a7796b13ec7db0f7e78849c35e8f428091a (patch)
tree6d6f4c26d224f22fd20b94d90452b667e5649402
parent6ff6261bb8b2bcf419689fdae4b68f6114f014a3 (diff)
Make make install idempotent
* sutils/Makefile ($(prefix)/dev/MAKEDEV): Add -f to ln command.
-rw-r--r--sutils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/Makefile b/sutils/Makefile
index f4e18110..b74a5063 100644
--- a/sutils/Makefile
+++ b/sutils/Makefile
@@ -38,6 +38,6 @@ $(progs): %: %.o ../libshouldbeinlibc/libshouldbeinlibc.a
install: $(prefix)/dev/MAKEDEV
$(prefix)/dev/MAKEDEV: $(prefix)/dev
- ln -s ../sbin/MAKEDEV $@
+ ln -sf ../sbin/MAKEDEV $@
$(prefix)/dev:
@$(MKINSTALLDIRS) $@