2013-03-30 23:55:53 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# File: Makefile
|
|
|
|
|
2013-03-30 23:57:14 +00:00
|
|
|
# Copyright (C) 2013 Christian Jacobs.
|
2013-03-30 23:55:53 +00:00
|
|
|
|
|
|
|
# This file is part of PyQSO.
|
|
|
|
|
|
|
|
# PyQSO is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# PyQSO is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2013-03-30 23:58:25 +00:00
|
|
|
input: clean install documentation
|
2013-03-30 23:55:53 +00:00
|
|
|
|
2013-03-30 23:58:25 +00:00
|
|
|
install:
|
2013-09-14 23:21:58 +00:00
|
|
|
@echo **********Installing PyQSO
|
2013-03-30 23:55:53 +00:00
|
|
|
python setup.py install
|
|
|
|
|
2013-04-30 02:24:38 +00:00
|
|
|
manual:
|
2013-09-14 23:21:58 +00:00
|
|
|
@echo **********Compiling the user manual
|
|
|
|
cd doc; pdflatex manual.tex; cd ..
|
|
|
|
|
|
|
|
unittest:
|
|
|
|
@echo **********Running the unit tests
|
2013-09-15 00:02:21 +00:00
|
|
|
cd pyqso; for file in *.py; do (python $$file); done; cd ..
|
2013-03-30 23:55:53 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@echo **********Cleaning build directory
|
|
|
|
rm -rf build
|
|
|
|
@echo **********Cleaning doc directory
|
2013-09-14 23:21:58 +00:00
|
|
|
cd doc; rm -rf *.log *.aux *.dvi *.pdf *.ps *.toc; cd ..
|
2013-04-30 16:34:08 +00:00
|
|
|
|