diff options
Diffstat (limited to 'contrib/scripts/Makefile.am')
-rw-r--r-- | contrib/scripts/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/scripts/Makefile.am b/contrib/scripts/Makefile.am new file mode 100644 index 000000000..a9eadf337 --- /dev/null +++ b/contrib/scripts/Makefile.am | |||
@@ -0,0 +1,43 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include | ||
3 | |||
4 | SUBDIRS = gnunet-logread | ||
5 | |||
6 | noinst_SCRIPTS = \ | ||
7 | terminate.py \ | ||
8 | pydiffer.py \ | ||
9 | removetrailingwhitespace.py \ | ||
10 | gnunet_pyexpect.py \ | ||
11 | gnunet_janitor.py \ | ||
12 | gnunet-chk.py | ||
13 | |||
14 | EXTRA_DIST = \ | ||
15 | coverage.sh \ | ||
16 | terminate.py.in \ | ||
17 | gnunet_pyexpect.py.in \ | ||
18 | gnunet_janitor.py.in \ | ||
19 | gnunet-chk.py.in \ | ||
20 | gnunet-bugreport \ | ||
21 | removetrailingwhitespace.py.in \ | ||
22 | pydiffer.py.in | ||
23 | |||
24 | CLEANFILES = \ | ||
25 | $(noinst_SCRIPTS) | ||
26 | |||
27 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | ||
28 | |||
29 | # Use SUFFIX Extension rules, they are more portable for every | ||
30 | # implementation of 'make'. | ||
31 | # You'll also run into the "'%' is a GNU make extension warning" | ||
32 | # if you use this: | ||
33 | # | ||
34 | #%.py: %.py.in Makefile | ||
35 | # $(do_subst) < $< > $@ | ||
36 | # chmod +x $@ | ||
37 | # | ||
38 | # instead of this: | ||
39 | SUFFIXES = .py.in .py | ||
40 | |||
41 | .py.in.py: | ||
42 | $(do_subst) < $< > $@ | ||
43 | chmod +x $@ | ||