From: Bert Vermeulen Date: Sun, 20 Jul 2014 20:37:32 +0000 (+0200) Subject: python: Silence irrelevant build warnings. X-Git-Tag: libsigrok-0.4.0~1234 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8eb10b625e77a0c4eedb865eb03ada9694ce532a;p=libsigrok.git python: Silence irrelevant build warnings. --- diff --git a/Makefile.am b/Makefile.am index ada3f1fa..24671779 100644 --- a/Makefile.am +++ b/Makefile.am @@ -430,17 +430,18 @@ PDIR = bindings/python python-build: $(PDIR)/timestamp +python-cleanclean: + $(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all 2> >(grep -v "can't clean it") + $(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \ - $(library_include_HEADERS) - $(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all - $(AM_V_GEN)cd $(PDIR) && python setup.py --quiet build + $(library_include_HEADERS) python-cleanclean + $(AM_V_GEN)cd $(PDIR) && python setup.py --quiet build 2> >(grep -v "command line option.*Wstrict-prototypes") $(AM_V_at)touch $(PDIR)/timestamp python-install: cd $(PDIR) && python setup.py --quiet install --prefix $(prefix) -python-clean: - $(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all +python-clean: python-cleanclean $(AM_V_at)rm -f $(PDIR)/timestamp BUILD_EXTRA += python-build