summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-10 14:05:53 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-10 14:05:53 +0200
commitaa7f761a7f3e140e873999bff45aa53d3b14a85c (patch)
tree7d40da59f12ccf2e2b951738fe6a6af24f8d791e
parentff063b06de57aede8e7209e8061c9b5afd2b7ffa (diff)
make: force to overwrite symlink
When doing to successive ``make install'' ln will throw an error that the symlink already exist, so simply force it to overwrite. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5788f1a..cb1cef2 100644
--- a/Makefile
+++ b/Makefile
@@ -241,7 +241,7 @@ netsniff-ng_install_custom flowtop_install_custom:
$(Q)$(foreach file,$(NCONF_FILES),$(call INST,$(file),$(ETCDIRE));)
trafgen_install_custom:
$(Q)$(call INST,trafgen_stddef.h,$(ETCDIRE))
- $(Q)ln -s $(ETCDIRE)/trafgen_stddef.h $(ETCDIRE)/stddef.h
+ $(Q)ln -fs $(ETCDIRE)/trafgen_stddef.h $(ETCDIRE)/stddef.h
astraceroute_install_custom:
$(Q)$(call INST,geoip.conf,$(ETCDIRE))