Added a Makefile to call setup.py and build the documentation.

pull/17/head
Christian Jacobs 2013-03-30 23:55:53 +00:00
rodzic 3776cb1f50
commit 4279c2b7fb
2 zmienionych plików z 54 dodań i 0 usunięć

36
Makefile 100644
Wyświetl plik

@ -0,0 +1,36 @@
#!/usr/bin/env python
# File: Makefile
# Copyright (C) 2012 Christian Jacobs.
# 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/>.
input: clean pyqso_setup documentation
pyqso_setup:
@echo **********Setting up PyQSO
python setup.py install
documentation:
cd doc
#latex manual.tex
cd ..
clean:
@echo **********Cleaning build directory
rm -rf build
@echo **********Cleaning doc directory
cd doc; rm -rf *.log *.aux *.dvi *.pdf *.ps *.toc; cd ..; done

Wyświetl plik

@ -1,4 +1,22 @@
#!/usr/bin/env python
# File: setup.py
# Copyright (C) 2012 Christian Jacobs.
# 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/>.
from distutils.core import setup