# Makefile.in -- input for the capplet directory's Makefile
# $Id: Makefile.in,v 1.17 2003/01/12 20:30:41 jsh Exp $
#
# Copyright (C) 1999 John Harper <john@dcs.warwick.ac.uk>
#
# This file is part of sawmill.
#
# sawmill 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, or (at your option)
# any later version.
#
# sawmill 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 sawmill; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

include ../Makedefs

top_builddir=..
top_srcdir=@top_srcdir@
srcdir=@srcdir@
VPATH=@srcdir@:@top_srcdir@

G_CC_DIR = $(GNOMEDIR)/share/applications
G_PIXMAP_DIR = $(GNOMEDIR)/share/pixmaps

all :

install : all installdirs
	for f in $(srcdir)/desktop-entries/*.desktop; do \
	  $(INSTALL_DATA) $$f $(DESTDIR)$(G_CC_DIR)/; \
	done
	for f in $(srcdir)/icons/*.png; do \
	  $(INSTALL_DATA) $$f $(DESTDIR)$(G_PIXMAP_DIR); \
	done

uninstall :
	for f in $(srcdir)/desktop-entries/*.desktop; do \
	  rm -f $(DESTDIR)$(G_CC_DIR)/$$f; \
	done

installdirs : $(top_srcdir)/mkinstalldirs
	$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \
	  $(DESTDIR)$(G_CC_DIR) $(DESTDIR)$(G_PIXMAP_DIR)

clean :
	rm -f *~ *.o *.lo *.la build.h core

realclean : clean
	rm -f .*.d sawfish-capplet Makefile


syntax highlighted by Code2HTML, v. 0.9.1