comparison Makefile.am @ 165:c0964adb41fc

build: Output a hint about what to do next after a successful build * Makefile.am (all-local): Add a successful build message similar to Octave.
author Mike Miller <mtmiller@octave.org>
date Wed, 06 Apr 2016 14:26:16 -0700
parents bc4f2e6f7b69
children f687155dcb7c
comparison
equal deleted inserted replaced
164:bc4f2e6f7b69 165:c0964adb41fc
80 80
81 %.oct: %.cc libpytave.la $(PYTAVE_HEADER_FILES) 81 %.oct: %.cc libpytave.la $(PYTAVE_HEADER_FILES)
82 $(AM_V_MKOCTFILE)$(OCT_LINK) $< $(OCT_LIBS) 82 $(AM_V_MKOCTFILE)$(OCT_LINK) $< $(OCT_LIBS)
83 83
84 all-local: $(OCT_FILES) 84 all-local: $(OCT_FILES)
85 @echo ""
86 @echo "Pytave successfully built. Now choose from the following:"
87 @echo ""
88 @echo " * run the test suite"
89 @echo " make check"
90 @echo ""
91 @echo " * run an Octave session with py* functions"
92 @echo " octave --path=\"\$$(pwd)\""
93 @echo ""
94 @echo " * run a Python session with pytave package"
95 @echo " PYTHONPATH=\"\$$(pwd)/.libs:\$$(pwd)/package\" python"
96 @echo ""
85 97
86 check-local: 98 check-local:
87 PYTHONPATH="$$(pwd)/package:$$(pwd)/.libs" $(PYTHON) test/exceptions.py 99 PYTHONPATH="$$(pwd)/package:$$(pwd)/.libs" $(PYTHON) test/exceptions.py
88 PYTHONPATH="$$(pwd)/package:$$(pwd)/.libs" $(PYTHON) test/test.py 100 PYTHONPATH="$$(pwd)/package:$$(pwd)/.libs" $(PYTHON) test/test.py