#--------------------------------------------------------------------- # # mirrormap - A QGIS plugin to display a mirror map in another panel # # Copyright (C) 2009 Aaron Racicot, Z-Pulley Inc. # # 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/mirrormap PYRCC = /usr/bin/pyrcc4 PYUIC = /usr/bin/pyuic4 RC_PY_FILE = resources.py UI_PY_FILE = mirrormap_ui.py all: $(RC_PY_FILE) $(UI_PY_FILE) $(MAKE) -C tools install: all mkdir -p $(INST_DIR) cp *.py $(INST_DIR)/ cp *.png $(INST_DIR)/ mkdir -p $(INST_DIR)/tools cp tools/*.py $(INST_DIR)/tools/ clean: $(RM) -f $(RC_PY_FILE) $(UI_PY_FILE) $(RM) -f *.pyc $(RM) -f *~ $(MAKE) -C tools clean $(RC_PY_FILE): resources.qrc $(PYRCC) -o $(RC_PY_FILE) resources.qrc $(UI_PY_FILE): mirrormap.ui $(PYUIC) -o $(UI_PY_FILE) mirrormap.ui