From 8426304b67a0b0a5630db500abf740b0e0b9e43c Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 8 Jun 2016 16:51:35 +0200 Subject: python: Fix stripping deprecated functionality. * lang/python/Makefile.am (gpgme.h): Add script as input. * lang/python/gpgme-h-clean.py (deprec_func): Also match struct members. (line_break): Fix matching on struct members. Signed-off-by: Justus Winter --- lang/python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/Makefile.am') diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index 18f77bb7..a9b39e72 100644 --- a/lang/python/Makefile.am +++ b/lang/python/Makefile.am @@ -20,7 +20,7 @@ EXTRA_DIST = README.rst SUBDIRS = tests # Cleanup gpgme.h from deprecated functions and typedefs. -gpgme.h: ../../src/gpgme.h +gpgme.h: ../../src/gpgme.h $(srcdir)/gpgme-h-clean.py $(PYTHON) $(srcdir)/gpgme-h-clean.py $< >$@ # For VPATH builds we need to copy some files because Python's -- cgit v1.2.3