pyqso/Makefile

42 wiersze
1.2 KiB
Makefile
Czysty Zwykły widok Historia

#!/usr/bin/env python
# File: Makefile
# Copyright (C) 2013 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/>.
2013-03-30 23:58:25 +00:00
input: clean install documentation
2013-03-30 23:58:25 +00:00
install:
2015-02-08 12:39:31 +00:00
@echo "*** Installing PyQSO"
python setup.py install
2015-02-08 12:39:31 +00:00
docs:
@echo "*** Building the documentation"
cd docs; make html; cd ..
unittest:
2015-02-08 12:39:31 +00:00
@echo "*** Running the unit tests"
2013-09-15 00:02:21 +00:00
cd pyqso; for file in *.py; do (python $$file); done; cd ..
clean:
2015-02-08 12:39:31 +00:00
@echo "*** Cleaning build directory"
rm -rf build
2015-02-08 12:39:31 +00:00
@echo "*** Cleaning pyqso directory"
cd pyqso; rm -f *.pyc ADIF.test_read.adi ADIF.test_write*.adi; cd ..
@echo "*** Cleaning doc directory"
cd docs; make clean; cd ..