# Makefile for btn4ws.py # # copyright (c) 1999-2006 Jan Dittberner # # This file is part of btn4ws. # # btn4ws 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. # # btn4ws 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 btn4ws; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # version: $Id: Makefile 1067 2006-12-29 19:27:19Z jan $ # PROJECT=btn4ws VERSION=0.7.0 DISTBUILDDIR=tmp/$(PROJECT)-$(VERSION) install: install -d $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins install btn4ws.py $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins install-user: gimptool --install-bin btn4ws.py clean: rm *~ dist: mkdir -p $(DISTBUILDDIR) cp btn4ws.py $(DISTBUILDDIR) cp COPYING $(DISTBUILDDIR) cp Makefile $(DISTBUILDDIR) cp changelog $(DISTBUILDDIR) cd tmp; tar c $(PROJECT)-$(VERSION) | gzip > ../../$(PROJECT)-$(VERSION).tar.gz rm -r tmp .PHONY: install install-user clean dist