1 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
3 # Copyright (c) 2010 Jannis Pohlmann <jannis@xfce.org>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation; either version 2 of
8 # the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public
16 # License along with this program; if not, write to the Free
17 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 # Boston, MA 02110-1301, USA.
33 distuninstallcheck_listfiles = \
34 find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache
39 (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
40 && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
41 || (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
45 thunar_scriptsdir = $(HELPER_PATH_PREFIX)/Thunar
46 thunar_scripts_SCRIPTS = \
49 ThunarBulkRename: ThunarBulkRename.in Makefile
51 rm -f ThunarBulkRename.gen ThunarBulkRename \
52 && $(SED) -e "s,\@bindir\@,$(bindir),g" \
53 < $(srcdir)/ThunarBulkRename.in \
54 > ThunarBulkRename.gen \
55 && mv ThunarBulkRename.gen ThunarBulkRename \
58 desktopdir = $(datadir)/applications
59 desktop_in_in_files = \
60 Thunar.desktop.in.in \
61 Thunar-bulk-rename.desktop.in.in \
62 Thunar-folder-handler.desktop.in.in
63 desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
64 %.desktop.in: %.desktop.in.in
65 $(AM_V_GEN) $(SED) -e "s,\@HELPERDIR\@,$(HELPER_PATH_PREFIX),g" < $< > $@
66 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
67 @INTLTOOL_DESKTOP_RULE@
70 servicedir = $(datadir)/dbus-1/services
71 service_in_files = org.xfce.FileManager.service.in org.xfce.Thunar.service.in
72 service_DATA = $(service_in_files:.service.in=.service)
73 %.service: %.service.in
74 $(AM_V_GEN) $(SED) -e "s,\@bindir\@,$(bindir),g" < $< > $@
84 $(desktop_in_in_files) \
96 DISTCHECK_CONFIGURE_FLAGS = \