Commit ba43193f authored by Kenton Varda's avatar Kenton Varda

Add -f flag to ln so that installing over an existing install doesn't fail.

parent daa62fd1
...@@ -218,10 +218,10 @@ capnpc_c___SOURCES = src/capnp/compiler/capnpc-c++.c++ ...@@ -218,10 +218,10 @@ capnpc_c___SOURCES = src/capnp/compiler/capnpc-c++.c++
# Symlink capnpc -> capnp. The capnp binary will behave like the old capnpc # Symlink capnpc -> capnp. The capnp binary will behave like the old capnpc
# binary (i.e. like "capnp compile") when invoked via this symlink. # binary (i.e. like "capnp compile") when invoked via this symlink.
install-exec-hook: install-exec-hook:
ln -s capnp $(DESTDIR)$(bindir)/capnpc ln -sf capnp $(DESTDIR)$(bindir)/capnpc
uninstall-hook: uninstall-hook:
rm $(DESTDIR)$(bindir)/capnpc rm -f $(DESTDIR)$(bindir)/capnpc
# Source files intentionally not included in the dist at this time: # Source files intentionally not included in the dist at this time:
# src/capnp/serialize-snappy* # src/capnp/serialize-snappy*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment