#--------------------------------------------------------------------- # # mac_noise - A QGIS plugin set to work with flight noise data # for the Metropolitan Airports Commission of Minneapolis, MN. # # Copyright (C) 2008 Aaron Racicot, Z-Pulley Inc. # Copyright (C) 2008 Metropolitan Airports Commission of Minneapolis # # EMAIL: aaronr (at) z-pulley.com # WEB : www.z-pulley.com # www.reprojected.com # #--------------------------------------------------------------------- # # licensed under the terms of GNU GPL 2 # # This program 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 2 of the License, or # (at your option) any later version. # # This program 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 this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # #--------------------------------------------------------------------- # Modify for win RM = rm -f #RM = del INST_DIR = ~/.qgis/python/plugins/mac_noise PYRCC = /usr/bin/pyrcc4 PYUIC = /usr/bin/pyuic4 RC_PY_FILE = resources.py UI_PY_FILE = mac_noise_gui.py DB_PY_FILE = mac_dbconnection_ui.py all: $(RC_PY_FILE) $(DB_PY_FILE) #$(UI_PY_FILE) $(MAKE) -C querybuilder $(MAKE) -C gate $(MAKE) -C elevation install: all mkdir -p $(INST_DIR) cp *.py $(INST_DIR)/ cp *.png $(INST_DIR)/ mkdir -p $(INST_DIR)/querybuilder cp querybuilder/*.py $(INST_DIR)/querybuilder/ mkdir -p $(INST_DIR)/gate cp gate/*.py $(INST_DIR)/gate/ mkdir -p $(INST_DIR)/elevation cp elevation/*.py $(INST_DIR)/elevation/ clean: $(RM) -f $(RC_PY_FILE) $(UI_PY_FILE) $(DB_PY_FILE) $(RM) -f *.pyc $(RM) -f *~ $(MAKE) -C querybuilder clean $(MAKE) -C gate clean $(MAKE) -C elevation clean $(RC_PY_FILE): resources.qrc $(PYRCC) -o $(RC_PY_FILE) resources.qrc $(UI_PY_FILE): mac_noise_gui.ui $(PYUIC) -o $(UI_PY_FILE) mac_noise_gui.ui $(DB_PY_FILE): mac_dbconnection.ui $(PYUIC) -o $(DB_PY_FILE) mac_dbconnection.ui