summaryrefslogtreecommitdiff
path: root/src/transport/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/Makefile.am')
-rw-r--r--src/transport/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 2b09ccf63..7bd07b905 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -268,8 +268,9 @@ 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
+ $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation
+ @chmod +x gnunet-transport-certificate-creation
+