don't update min/max bounding box when drawing with CLEAR polarity
[geda-gerbv.git] / desktop / Makefile.am
blob5e8cf2092db4214f428099148fe1f3222cb323fa
1 ## Process this file with automake to produce Makefile.in
2 ##
3 ##    Copyright (C) 2000-2006 Stefan Petersen (spe at stacken.kth.se)
4 ##
5 ##  This file is part of gerbv.
6 ##  $Id$
7 ##
8 ##  This program is free software; you can redistribute it and/or modify
9 ##  it under the terms of the GNU General Public License as published by
10 ##  the Free Software Foundation; either version 2 of the License, or
11 ##  (at your option) any later version.
13 ##  This program is distributed in the hope that it will be useful,
14 ##  but 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.
18 ##  You should have received a copy of the GNU General Public License
19 ##  along with this program; if not, write to the Free Software
20 ##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
22 theme=hicolor
23 xdgdatadir=@XDGDATADIR@
24 themedir=$(xdgdatadir)/icons/$(theme)
26 app_icon = gerbv
28 app_icon_files = \
29         $(app_icon:%=%-16.png) \
30         $(app_icon:%=%-22.png) \
31         $(app_icon:%=%-24.png) \
32         $(app_icon:%=%-32.png) \
33         $(app_icon:%=%-48.png) \
34         $(app_icon:%=%.svg)
36 theme_icons = \
37         $(app_icon_files:%=apps,%)
39 desktopdir=$(xdgdatadir)/applications
40 dist_desktop_DATA = gerbv.desktop
42 install_icon_exec = \
43         $(SETENV) GTK_UPDATE_ICON_CACHE_BIN="@GTK_UPDATE_ICON_CACHE_BIN@" \
44         $(SHELL) $(top_srcdir)/icon-theme-installer \
45         -t $(theme) \
46         -s $(srcdir) \
47         -d "x$(DESTDIR)" \
48         -b $(themedir) \
49         -m "$(mkinstalldirs)" \
50         -x "$(INSTALL_DATA)"
52 install-data-local:
53         $(install_icon_exec) -i $(theme_icons)
55 install-data-hook:
56 if ENABLE_UPDATE_DESKTOP_DATABASE
57         $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)"
58 endif
60 uninstall-hook:
61 if ENABLE_UPDATE_DESKTOP_DATABASE
62         $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)"
63 endif
64         $(install_icon_exec) -u $(theme_icons)
66 dist_pkgdata_DATA= gerbv_icon.ico
68 EXTRA_DIST = gerbv.png $(app_icon_files)
69 MOSTLYCLEANFILES = *~
70 MAINTAINERCLEANFILES = *~ *.o Makefile Makefile.in