diff options
author | Ben Pfaff <blp@ovn.org> | 2017-11-20 09:41:42 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-11-26 16:08:07 -0800 |
commit | 74eaac06d61e918ce4bb82611c6f5905c77d94e4 (patch) | |
tree | cf5a8cad926a0bb8e2e31052d42f8946f565d3fb /Makefile.am | |
parent | dd6f26a9d8927e2e0ba7b6837b05350743326ea0 (diff) | |
download | openvswitch-74eaac06d61e918ce4bb82611c6f5905c77d94e4.tar.gz |
tests: Convert soexpand build tool from Perl to Python.
Perl is unfashionable and Python is more widely available and understood,
so this commit converts one of the OVS uses of Perl into Python.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index c82a9e21e..f883fdc84 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,7 +88,7 @@ EXTRA_DIST = \ build-aux/dist-docs \ build-aux/dpdkstrip.py \ build-aux/sodepends.pl \ - build-aux/soexpand.pl \ + build-aux/soexpand.py \ build-aux/xml2nroff \ $(MAN_FRAGMENTS) \ $(MAN_ROOTS) \ @@ -144,7 +144,7 @@ ro_shell = printf '\043 Generated automatically -- do not modify! -*- buffer- SUFFIXES += .in .in: - $(AM_V_GEN)$(PERL) $(srcdir)/build-aux/soexpand.pl -I$(srcdir) < $< | \ + $(AM_V_GEN)PYTHONPATH=$$PYTHONPATH:$(srcdir)/python $(PYTHON) $(srcdir)/build-aux/soexpand.py -I$(srcdir) < $< | \ $(PYTHON) $(srcdir)/build-aux/dpdkstrip.py $(DPDKSTRIP_FLAGS) | \ sed \ -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ |