Skip to content

Commit

Permalink
Makefile: do not python compile if NO_PYTHON_COMPILE is set
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldh committed Nov 19, 2010
1 parent 01a0130 commit 8816bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -32,9 +32,9 @@ py-install-compile: pybootchartgui/main.py
install -d $(DESTDIR)$(PY_SITEDIR)/pybootchartgui
cp pybootchartgui/*.py $(DESTDIR)$(PY_SITEDIR)/pybootchartgui
install -D -m 755 pybootchartgui.py $(DESTDIR)$(BINDIR)/pybootchartgui
cd $(DESTDIR)$(PY_SITEDIR)/pybootchartgui ; \
[ -z "$(NO_PYTHON_COMPILE)" ] && ( cd $(DESTDIR)$(PY_SITEDIR)/pybootchartgui ; \
python $(PY_LIBDIR)/py_compile.py *.py ; \
PYTHONOPTIMIZE=1 python $(PY_LIBDIR)/py_compile.py *.py
PYTHONOPTIMIZE=1 python $(PY_LIBDIR)/py_compile.py *.py ); :

install-chroot:
install -d $(DESTDIR)/lib/bootchart/tmpfs
Expand Down

0 comments on commit 8816bdd

Please sign in to comment.