1## Process this file with automake to produce Makefile.in
2##
3##    Copyright (C) 2010 Doug Springer (gpib at rickyrockrat dot net)
4##
5##  This file is part of parcellite.
6##  Parcellite is free software; you can redistribute it and/or modify
7##  it under the terms of the GNU General Public License as published by
8##  the Free Software Foundation; either version 3 of the License, or
9##  (at your option) any later version.
10##
11##  Parcellite is distributed in the hope that it will be useful,
12##  but WITHOUT ANY WARRANTY; without even the implied warranty of
13##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14##  GNU General Public License for more details.
15##
16##  You should have received a copy of the GNU General Public License
17##  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19@INTLTOOL_DESKTOP_RULE@
20
21xdgdatadir=@XDGDATADIR@
22app_name=parcellite
23
24app_icon_files = \
25	$(app_name:%=%.png) \
26	$(app_name:%=%.svg) \
27	$(app_name:%=%.xpm)
28
29desktopdir = $(datadir)/applications
30desktop_in_file = $(app_name:%=%.desktop.in)
31desktop_DATA = $(app_name:%=%.desktop)
32
33autostartdir = $(sysconfdir)/xdg/autostart
34autostart_in_file = $(app_name:%=%-startup.desktop.in)
35autostart_DATA = $(app_name:%=%-startup.desktop)
36
37pixmapdir = $(datadir)/pixmaps
38
39pixmap_DATA = $(app_icon_files)
40
41
42EXTRA_DIST = \
43  $(desktop_in_file) \
44  $(autostart_in_file) \
45  $(app_icon_files)
46
47CLEANFILES = \
48  $(desktop_DATA) \
49  $(autostart_DATA)
50
51DISTCLEANFILES = \
52  $(desktop_DATA) \
53  $(autostart_DATA)
54