maintainer/run-autogen.sh: fix to be executable from another system
[nautilus-actions.git] / Makefile.am
blob20779daaf90098a15e8ca836096c3520c5107737
1 # FileManager-Actions
2 # A file-manager extension which offers configurable context menu actions.
4 # Copyright (C) 2005 The GNOME Foundation
5 # Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
6 # Copyright (C) 2009-2014 Pierre Wieser and others (see AUTHORS)
8 # FileManager-Actions is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
13 # FileManager-Actions 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 GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with FileManager-Actions; see the file COPYING. If not, see
20 # <http://www.gnu.org/licenses/>.
22 # Authors:
23 #   Frederic Ruaudel <grumz@grumz.net>
24 #   Rodrigo Moya <rodrigo@gnome-db.org>
25 #   Pierre Wieser <pwieser@trychlos.org>
26 #   ... and many others (see AUTHORS)
28 ACLOCAL_AMFLAGS = -I m4
30 # src/ must be built before maintainer/
31 SUBDIRS = \
32         data                                                            \
33         docs                                                            \
34         m4                                                                      \
35         src                                                                     \
36         maintainer                                                      \
37         icons                                                           \
38         po                                                                      \
39         $(NULL)
41 # - nautilus/nemo-extdir are fake directories so that make distcheck
42 #   has a vpath which is prefixed with a make variable, instead of an
43 #   hardcoded as returned by pkg-config
44 # - do not try to install schemas when making distcheck
45 # - do not rebuild FMACT manuals
46 # - gtk-doc requires to be enabled when making dist
47 # - GNOME_DOC_DEFINES tries to disable scrollkeeper, but the set is
48 #   overriden but this one
49 DISTCHECK_CONFIGURE_FLAGS = \
50         --with-nautilus-extdir='$${libdir}/nautilus/extensions-3.0-distcheck' \
51         --with-nemo-extdir='$${libdir}/nemo/extensions-3.0-distcheck' \
52         --enable-silent-rules                           \
53         --enable-as-needed                                      \
54         --disable-scrollkeeper                          \
55         --disable-schemas-install                       \
56         --enable-deprecated                                     \
57         --enable-gtk-doc                                        \
58         --disable-html-manuals                          \
59         --disable-pdf-manuals                           \
60         $(NULL)
62 EXTRA_DIST = \
63         fma_required_versions                           \
64         intltool-extract.in                                     \
65         intltool-merge.in                                       \
66         intltool-update.in                                      \
67         $(NULL)
69 DISTCLEANFILES = \
70         intltool-extract                                        \
71         intltool-merge                                          \
72         intltool-update                                         \
73         $(NULL)
75 pkgdocdir = $(datarootdir)/doc/@PACKAGE@-@VERSION@
77 dist_pkgdoc_DATA = \
78         AUTHORS                                                         \
79         ChangeLog                                                       \
80         ChangeLog-2008                                          \
81         ChangeLog-2009                                          \
82         ChangeLog-2010                                          \
83         ChangeLog-2011                                          \
84         ChangeLog-2012                                          \
85         COPYING                                                         \
86         COPYING-DOCS                                            \
87         INSTALL                                                         \
88         MAINTAINERS                                                     \
89         NEWS                                                            \
90         README                                                          \
91         README-GCONF                                            \
92         TODO                                                            \
93         $(NULL)
95 uninstall-hook:
96         -\rm -fr $(DESTDIR)$(pkgdocdir)