btn4ws/Makefile
Jan Dittberner a0355bf08c fixes #5
* set svn:keywords for Makefile
 * set svn:ignore to ignore *.pyc and *.pyo
2007-12-03 20:59:44 +00:00

48 lines
1.3 KiB
Makefile

# Makefile for btn4ws.py
#
# copyright (c) 1999-2006 Jan Dittberner <jan@dittberner.info>
#
# 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$
#
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