3 # A file-manager extension which offers configurable context menu actions.
5 # Copyright (C) 2005 The GNOME Foundation
6 # Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
7 # Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
9 # FileManager-Actions is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License as
11 # published by the Free Software Foundation; either version 2 of
12 # the License, or (at your option) any later version.
14 # FileManager-Actions is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with FileManager-Actions; see the file COPYING. If not, see
21 # <http://www.gnu.org/licenses/>.
24 # Frederic Ruaudel <grumz@grumz.net>
25 # Rodrigo Moya <rodrigo@gnome-db.org>
26 # Pierre Wieser <pwieser@trychlos.org>
27 # ... and many others (see AUTHORS)
29 if [ ! -f configure.ac
]; then
30 echo "> This script is only meant to be run from the top source directory." 1>&2
34 maintainer_dir
=$
(cd ${0%/*}; pwd)
35 top_srcdir
="${maintainer_dir%/*}"
37 builddir
="${top_srcdir}/_build"
38 installdir
="${top_srcdir}/_install"
40 # a filemanager-actions-x.y may remain after an aborted make distcheck
41 # such a directory breaks gnome-autogen.sh generation
43 for d
in $
(find ${top_srcdir} -maxdepth 2 -type d
-name 'filemanager-actions-*'); do
50 find ${top_srcdir}/docs
/user-manual
-type f
-name '*.html' -o -name '*.pdf' |
xargs rm -f
51 find ${top_srcdir}/docs
/user-manual \
( -type d
-o -type l \
) -name 'stylesheet-images' -o -name 'admon' |
xargs rm -fr
53 ${maintainer_dir}/run-autogen.sh
--enable-deprecated --enable-gtk-doc --enable-html-manuals &&
54 ${maintainer_dir}/check-po.sh
-nodummy &&
55 ${maintainer_dir}/check-headers.sh
-nodummy -builddir="${builddir}" &&
56 desktop-file-validate
${installdir}/share
/applications
/fma-ui.desktop
&&
57 make -C ${builddir} distcheck