Permalink
Browse files

Makefile (prepare): New goal from old code, as I needed it.

  • Loading branch information...
1 parent 93ea251 commit 8b435ce8eb349f0cc6eb8164126fa4a3e17e5043 @pinard committed May 25, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 Makefile
View
@@ -9,8 +9,7 @@ RST2LATEX = rst2latex
PYSETUP = $(PYTHON) setup.py
PPPP = $(PYTHON) pppp -C ppppconfig.py
-all:
- $(PPPP) Pymacs.py.in pppp.rst.in pymacs.el.in pymacs.rst.in contrib tests
+all: prepare
$(PYSETUP) --quiet build
check: clean-debug
@@ -20,10 +19,12 @@ check: clean-debug
PYMACS_OPTIONS="-d debug-protocol -s debug-signals" \
$(PYTHON) pytest -f t $(TEST)
-install:
- $(PPPP) Pymacs.py.in pppp.rst.in pymacs.el.in pymacs.rst.in contrib tests
+install: prepare
$(PYSETUP) install
+prepare:
+ $(PPPP) Pymacs.py.in pppp.rst.in pymacs.el.in pymacs.rst.in contrib tests
+
clean: clean-debug
rm -rf build* contrib/rebox/build
rm -f */*py.class *.pyc */*.pyc pppp.pdf pymacs.pdf

0 comments on commit 8b435ce

Please sign in to comment.