2007-12-03 21:13:00 +01:00
|
|
|
# Makefile for btn4ws.py
|
|
|
|
#
|
2009-03-15 08:56:39 +01:00
|
|
|
# copyright (c) 1999-2009 Jan Dittberner <jan@dittberner.info>
|
2007-12-03 21:13:00 +01:00
|
|
|
#
|
|
|
|
# This file is part of btn4ws.
|
|
|
|
#
|
2009-03-15 08:56:39 +01:00
|
|
|
# btn4ws is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
2007-12-03 21:13:00 +01:00
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2009-03-15 08:56:39 +01:00
|
|
|
# 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.
|
2007-12-03 21:13:00 +01:00
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2009-03-15 08:56:39 +01:00
|
|
|
# along with btn4ws; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2007-12-03 21:13:00 +01:00
|
|
|
#
|
2007-12-03 21:59:44 +01:00
|
|
|
# version: $Id$
|
2007-12-03 21:13:00 +01:00
|
|
|
#
|
|
|
|
|
2007-12-04 14:58:29 +01:00
|
|
|
GIMPTOOL = gimptool-2.0
|
|
|
|
|
2007-12-03 21:13:00 +01:00
|
|
|
install:
|
2007-12-04 14:58:29 +01:00
|
|
|
install -d $(PREFIX)/$$($(GIMPTOOL) --gimpplugindir)/plug-ins
|
|
|
|
install btn4ws.py $(PREFIX)/$$($(GIMPTOOL) --gimpplugindir)/plug-ins
|
2007-12-03 21:13:00 +01:00
|
|
|
|
|
|
|
install-user:
|
2007-12-04 14:58:29 +01:00
|
|
|
$(GIMPTOOL) --install-bin btn4ws.py
|
2007-12-03 21:13:00 +01:00
|
|
|
|
|
|
|
clean:
|
2007-12-04 14:34:04 +01:00
|
|
|
find . -type f -name '*~' -exec rm {} \;
|
2007-12-03 21:13:00 +01:00
|
|
|
|
|
|
|
dist:
|
2007-12-04 14:34:04 +01:00
|
|
|
python setup.py sdist
|
2007-12-03 21:13:00 +01:00
|
|
|
|
|
|
|
.PHONY: install install-user clean dist
|