1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
4 SUBDIRS = gnunet-logread
9 removetrailingwhitespace.py \
29 gnunet_pyexpect.py.in \
30 gnunet_janitor.py.in \
33 removetrailingwhitespace.py.in \
41 do_subst = $(AWK) -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" '{if (/@AWKEXE@/) { gsub("@AWKEXE@",awkay)}; gsub("@PYTHONEXE@",py); print $$0}'
43 # Use SUFFIX Extension rules, they are more portable for every
44 # implementation of 'make'.
45 # You'll also run into the "'%' is a GNU make extension warning"
48 #%.py: %.py.in Makefile
49 # $(do_subst) < $< > $@
60 check-texinfo.awk: check-texinfo.awk.in Makefile
61 $(do_subst) < $(srcdir)/check-texinfo.awk.in > check-texinfo.awk
62 chmod +x check-texinfo.awk