1 | # Makefile.in -- input for the capplet directory's Makefile |
---|
2 | # $Id: Makefile.in,v 1.4 2003-01-05 00:48:00 ghudson Exp $ |
---|
3 | # |
---|
4 | # Copyright (C) 1999 John Harper <john@dcs.warwick.ac.uk> |
---|
5 | # |
---|
6 | # This file is part of sawmill. |
---|
7 | # |
---|
8 | # sawmill is free software; you can redistribute it and/or modify it |
---|
9 | # under the terms of the GNU General Public License as published by |
---|
10 | # the Free Software Foundation; either version 2, or (at your option) |
---|
11 | # any later version. |
---|
12 | # |
---|
13 | # sawmill is distributed in the hope that it will be useful, but |
---|
14 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | # GNU General Public License for more details. |
---|
17 | # |
---|
18 | # You should have received a copy of the GNU General Public License |
---|
19 | # along with sawmill; see the file COPYING. If not, write to |
---|
20 | # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
21 | |
---|
22 | include ../Makedefs |
---|
23 | |
---|
24 | top_builddir=.. |
---|
25 | top_srcdir=@top_srcdir@ |
---|
26 | srcdir=@srcdir@ |
---|
27 | VPATH=@srcdir@:@top_srcdir@ |
---|
28 | |
---|
29 | G_CC_DIR = $(GNOMEDIR)/share/control-center-2.0/capplets |
---|
30 | G_PIXMAP_DIR = $(GNOMEDIR)/share/pixmaps |
---|
31 | |
---|
32 | all : |
---|
33 | |
---|
34 | install : all installdirs |
---|
35 | for f in $(srcdir)/desktop-entries/*.desktop; do \ |
---|
36 | $(INSTALL_DATA) $$f $(DESTDIR)$(G_CC_DIR)/; \ |
---|
37 | done |
---|
38 | for f in $(srcdir)/icons/*.png; do \ |
---|
39 | $(INSTALL_DATA) $$f $(DESTDIR)$(G_PIXMAP_DIR); \ |
---|
40 | done |
---|
41 | |
---|
42 | uninstall : |
---|
43 | for f in $(srcdir)/desktop-entries/*.desktop; do \ |
---|
44 | rm -f $(DESTDIR)$(G_CC_DIR)/$$f; \ |
---|
45 | done |
---|
46 | |
---|
47 | installdirs : $(top_srcdir)/mkinstalldirs |
---|
48 | $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ |
---|
49 | $(DESTDIR)$(G_CC_DIR) $(DESTDIR)$(G_PIXMAP_DIR) |
---|
50 | |
---|
51 | clean : |
---|
52 | rm -f *~ *.o *.lo *.la build.h core |
---|
53 | |
---|
54 | realclean : clean |
---|
55 | rm -f .*.d sawfish-capplet Makefile |
---|