From: Matthias Wachs Date: Tue, 30 Aug 2011 13:00:56 +0000 (+0000) Subject: gnunet-nat-server was not correctly installed X-Git-Tag: initial-import-from-subversion-38251~17283 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e254e84a2fa79fc3003085089387e44fb222c184;p=oweals%2Fgnunet.git gnunet-nat-server was not correctly installed --- diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am index 3f3f61d8d..97758df62 100644 --- a/src/nat/Makefile.am +++ b/src/nat/Makefile.am @@ -7,13 +7,19 @@ if MINGW NATCLIENT = gnunet-helper-nat-client-windows.c endif + +if ENABLE_TEST_RUN + nattest = $(bindir)/gnunet-nat-server +endif + + if LINUX NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client NATSERVER = gnunet-helper-nat-server.c NATCLIENT = gnunet-helper-nat-client.c install-exec-hook: - chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client || true - chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client || true + chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true + chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true else install-exec-hook: endif