diff options
Diffstat (limited to 'src/util/Makefile.am')
-rw-r--r-- | src/util/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 625ff87a2..0ba06f4bb 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -41,7 +41,7 @@ if USE_COVERAGE | |||
41 | endif | 41 | endif |
42 | 42 | ||
43 | if ENABLE_BENCHMARK | 43 | if ENABLE_BENCHMARK |
44 | BENCHMARK = benchmark.c | 44 | BENCHMARK = benchmark.c benchmark.h |
45 | PTHREAD = -lpthread | 45 | PTHREAD = -lpthread |
46 | endif | 46 | endif |
47 | 47 | ||
@@ -225,8 +225,13 @@ gnunet_timeout_SOURCES = \ | |||
225 | gnunet-timeout-w32.c | 225 | gnunet-timeout-w32.c |
226 | endif | 226 | endif |
227 | 227 | ||
228 | # This is horrible, but compared to the alternatives and the solution | ||
229 | # which preceded this it is a good compromise and good enough for one | ||
230 | # file. Everyone else is invited to patch it locally. | ||
228 | 231 | ||
229 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | 232 | xENV=$(shell which env) |
233 | |||
234 | do_subst = $(SED) -e 's,[@]ENV[@],${xENV},g' | ||
230 | 235 | ||
231 | gnunet-qr: gnunet-qr.py.in Makefile | 236 | gnunet-qr: gnunet-qr.py.in Makefile |
232 | $(do_subst) < $(top_srcdir)/src/util/gnunet-qr.py.in > gnunet-qr | 237 | $(do_subst) < $(top_srcdir)/src/util/gnunet-qr.py.in > gnunet-qr |