blob: b76e57db7f72fc5180de41cac68b204eab1d5939 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# 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 \
check-texinfo.awk
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)
do_subst = $(AWK) -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" '{if (/@AWKEXE@/) { gsub("@AWKEXE@",awkay)}; gsub("@PYTHONEXE@",py); print $$0}'
# 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:
$(do_subst) < $< > $@
chmod +x $@
check-texinfo.awk: check-texinfo.awk.in Makefile
$(do_subst) < $(srcdir)/check-texinfo.awk.in > check-texinfo.awk
chmod +x check-texinfo.awk
|