diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-08-30 13:00:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-08-30 13:00:56 +0000 |
commit | e254e84a2fa79fc3003085089387e44fb222c184 (patch) | |
tree | b3c174943a6e844a80b3ff88f5198ea14982d57a /src/nat | |
parent | 1fd0d8e9c5bafc23a99cec96d105298210733d5c (diff) | |
download | gnunet-e254e84a2fa79fc3003085089387e44fb222c184.tar.gz gnunet-e254e84a2fa79fc3003085089387e44fb222c184.zip |
gnunet-nat-server was not correctly installed
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/Makefile.am | 10 |
1 files 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 | |||
7 | NATCLIENT = gnunet-helper-nat-client-windows.c | 7 | NATCLIENT = gnunet-helper-nat-client-windows.c |
8 | endif | 8 | endif |
9 | 9 | ||
10 | |||
11 | if ENABLE_TEST_RUN | ||
12 | nattest = $(bindir)/gnunet-nat-server | ||
13 | endif | ||
14 | |||
15 | |||
10 | if LINUX | 16 | if LINUX |
11 | NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client | 17 | NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client |
12 | NATSERVER = gnunet-helper-nat-server.c | 18 | NATSERVER = gnunet-helper-nat-server.c |
13 | NATCLIENT = gnunet-helper-nat-client.c | 19 | NATCLIENT = gnunet-helper-nat-client.c |
14 | install-exec-hook: | 20 | install-exec-hook: |
15 | chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client || true | 21 | chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true |
16 | chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client || true | 22 | chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true |
17 | else | 23 | else |
18 | install-exec-hook: | 24 | install-exec-hook: |
19 | endif | 25 | endif |