summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/scripts/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/scripts/Makefile.am b/contrib/scripts/Makefile.am
index b76e57db7..9416596c7 100644
--- a/contrib/scripts/Makefile.am
+++ b/contrib/scripts/Makefile.am
@@ -10,7 +10,14 @@ noinst_SCRIPTS = \
gnunet_pyexpect.py \
gnunet_janitor.py \
gnunet-chk.py \
+ $(AWK_SCRIPTS)
+
+if HAVE_AWK
+AWK_SCRIPTS = \
check-texinfo.awk
+else
+AWK_SCRIPTS =
+endif
bin_SCRIPTS = \
gnunet-bugreport \
@@ -49,6 +56,8 @@ SUFFIXES = .py.in .py
$(do_subst) < $< > $@
chmod +x $@
+if HAVE_AWK
check-texinfo.awk: check-texinfo.awk.in Makefile
$(do_subst) < $(srcdir)/check-texinfo.awk.in > check-texinfo.awk
chmod +x check-texinfo.awk
+endif