summaryrefslogtreecommitdiff
path: root/src/transport/Makefile.am
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-23 23:38:19 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-23 23:38:19 +0200
commitad488bdf1343d85a30d8189884018928b0f699ba (patch)
tree5b83d8fc9f8a666d74197091dacc5334dd8193f7 /src/transport/Makefile.am
parentb5d78311efeded3e135e8f4b19bc1e0596d0496c (diff)
fix #5817
Diffstat (limited to 'src/transport/Makefile.am')
-rw-r--r--src/transport/Makefile.am19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index ea9ce75ba..e6729f2a9 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -256,16 +256,20 @@ libexec_PROGRAMS = \
bin_PROGRAMS = \
- gnunet-transport \
+ gnunet-transport
+
+bin_SCRIPTS = \
gnunet-transport-certificate-creation
-#bin_SCRIPTS = \
-# gnunet-transport-certificate-creation
+# See: https://www.gnu.org/software/automake/manual/html_node/Scripts.html#Scripts
+do_subst = sed -e 's,[@]pkgdatadir[@],$(pkgdatadir),g'
+
+
+gnunet-transport-certificate-creation: gnunet-transport-certificate-creation.in Makefile
+ $(do_subst) < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation
+ chmod +x gnunet-transport-certificate-creation
+
-gnunet_transport_certificate_creation_SOURCES = \
- gnunet-transport-certificate-creation.c
-gnunet_transport_certificate_creation_LDADD = \
- $(top_builddir)/src/util/libgnunetutil.la
gnunet_communicator_unix_SOURCES = \
gnunet-communicator-unix.c
@@ -1338,6 +1342,7 @@ test_transport_api_slow_ats_LDADD = \
EXTRA_DIST = \
+gnunet-transport-certificate-creation.in \
communicator-unix.conf \
test_plugin_hostkey \
test_plugin_hostkey.ecc \