summaryrefslogtreecommitdiff
path: root/src/revocation/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/Makefile.am')
-rw-r--r--src/revocation/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/revocation/Makefile.am b/src/revocation/Makefile.am
index 5e48fb29f..b3b2877ca 100644
--- a/src/revocation/Makefile.am
+++ b/src/revocation/Makefile.am
@@ -90,10 +90,8 @@ if ENABLE_TEST_RUN
$(check_PROGRAMS)
endif
-do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
-
test_local_revocation.py: test_local_revocation.py.in Makefile
- $(do_subst) < $(srcdir)/test_local_revocation.py.in > test_local_revocation.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 < $(srcdir)/test_local_revocation.py.in > test_local_revocation.py
chmod +x test_local_revocation.py
EXTRA_DIST = test_revocation.conf \