Lines 282-293
Link Here
|
282 |
# Symlink capnpc -> capnp. The capnp binary will behave like the old capnpc |
282 |
# Symlink capnpc -> capnp. The capnp binary will behave like the old capnpc |
283 |
# binary (i.e. like "capnp compile") when invoked via this symlink. |
283 |
# binary (i.e. like "capnp compile") when invoked via this symlink. |
284 |
# |
284 |
# |
285 |
# Also attempt to run ldconfig, because otherwise users get confused. If |
285 |
# Do not attempt to run ldconfig, that is not your job. |
286 |
# it fails (e.g. because the platform doesn't have it, or because the |
|
|
287 |
# user doesn't have root privileges), don't worry about it. |
288 |
install-exec-hook: |
286 |
install-exec-hook: |
289 |
ln -sf capnp $(DESTDIR)$(bindir)/capnpc |
287 |
ln -sf capnp $(DESTDIR)$(bindir)/capnpc |
290 |
ldconfig < /dev/null > /dev/null 2>&1 || true |
|
|
291 |
|
288 |
|
292 |
uninstall-hook: |
289 |
uninstall-hook: |
293 |
rm -f $(DESTDIR)$(bindir)/capnpc |
290 |
rm -f $(DESTDIR)$(bindir)/capnpc |