From e254e84a2fa79fc3003085089387e44fb222c184 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 30 Aug 2011 13:00:56 +0000 Subject: [PATCH] gnunet-nat-server was not correctly installed --- src/nat/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.25.1