1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- # This Makefile.am is in the public domain
- AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
- SUBDIRS = gnunet-logread
- noinst_SCRIPTS = \
- terminate.py \
- pydiffer.py \
- removetrailingwhitespace.py \
- gnunet_pyexpect.py \
- gnunet_janitor.py \
- gnunet-chk.py \
- $(awkSCRIPTS)
- # FIXME: read into AWK_SCRIPTS autotools builtin.
- if HAVE_AWK
- awkSCRIPTS = \
- check-texinfo.awk
- else
- awkSCRIPTS =
- endif
- bin_SCRIPTS = \
- gnunet-bugreport \
- gnunet-suidfix
- EXTRA_DIST = \
- coverage.sh \
- terminate.py.in \
- gnunet_pyexpect.py.in \
- gnunet_janitor.py.in \
- gnunet-chk.py.in \
- $(SCRIPTS) \
- removetrailingwhitespace.py.in \
- pydiffer.py.in \
- gnunet-suidfix \
- check-texinfo.awk.in
- CLEANFILES = \
- $(noinst_SCRIPTS)
- # Use SUFFIX Extension rules, they are more portable for every
- # implementation of 'make'.
- # You'll also run into the "'%' is a GNU make extension warning"
- # if you use this:
- #
- #%.py: %.py.in Makefile
- # $(do_subst) < $< > $@
- # chmod +x $@
- #
- # instead of this:
- SUFFIXES = .py.in .py
- .py.in.py:
- $(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 < $< > $@
- chmod +x $@
- if HAVE_AWK
- check-texinfo.awk: check-texinfo.awk.in Makefile
- $(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)/check-texinfo.awk.in > check-texinfo.awk
- chmod +x check-texinfo.awk
- endif
|