[nautilus-actions/file-manager-actions] Fix maintainer scripts
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions/file-manager-actions] Fix maintainer scripts
- Date: Fri, 18 Sep 2015 12:01:03 +0000 (UTC)
commit 0092f17b815d415cbbb4979752f28bdb3d13c86e
Author: Pierre Wieser <pwieser trychlos org>
Date: Fri Sep 18 00:10:52 2015 +0200
Fix maintainer scripts
maintainer/run-autogen.sh | 2 ++
maintainer/run-distcheck.sh | 14 +++++++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/maintainer/run-autogen.sh b/maintainer/run-autogen.sh
index 7418d65..8a145a7 100755
--- a/maintainer/run-autogen.sh
+++ b/maintainer/run-autogen.sh
@@ -151,6 +151,8 @@ conf_args="\${conf_args} --with-nautilus-extdir=\${heredir}/_install/lib/nautilu
conf_args="\${conf_args} --with-nemo-extdir=\${heredir}/_install/lib/nemo"
conf_args="\${conf_args} --enable-maintainer-mode"
conf_args="\${conf_args} --disable-scrollkeeper"
+conf_args="\${conf_args} --enable-gtk-doc"
+conf_args="\${conf_args} --enable-gtk-doc-html"
conf_args="\${conf_args} $*"
conf_args="\${conf_args} \$*"
diff --git a/maintainer/run-distcheck.sh b/maintainer/run-distcheck.sh
index b9ce164..6e9fc90 100755
--- a/maintainer/run-distcheck.sh
+++ b/maintainer/run-distcheck.sh
@@ -34,21 +34,25 @@ fi
maintainer_dir=$(cd ${0%/*}; pwd)
top_srcdir="${maintainer_dir%/*}"
-builddir="${top_srcdir}/_build"
-installdir="${top_srcdir}/_install"
+PkgName=`autoconf --trace 'AC_INIT:$1' configure.ac`
+pkgname=$(echo $PkgName | tr '[[:upper:]]' '[[:lower:]]')
# a filemanager-actions-x.y may remain after an aborted make distcheck
# such a directory breaks gnome-autogen.sh generation
# so clean it here
-for d in $(find ${top_srcdir} -maxdepth 2 -type d -name 'filemanager-actions-*'); do
+for d in $(find ${top_srcdir} -maxdepth 2 -type d -name "${pkgname}-*"); do
+ echo "> Removing $d"
chmod -R u+w $d
rm -fr $d
done
+builddir="${top_srcdir}/_build"
+installdir="${top_srcdir}/_install"
+
rm -fr ${builddir}
rm -fr ${installdir}
-find ${top_srcdir}/docs/user-manual -type f -name '*.html' -o -name '*.pdf' | xargs rm -f
-find ${top_srcdir}/docs/user-manual \( -type d -o -type l \) -name 'stylesheet-images' -o -name 'admon' |
xargs rm -fr
+find ${top_srcdir}/docs/manual -type f -name '*.html' -o -name '*.pdf' | xargs rm -f
+find ${top_srcdir}/docs/manual \( -type d -o -type l \) -name 'stylesheet-images' -o -name 'admon' | xargs
rm -fr
${maintainer_dir}/run-autogen.sh --enable-deprecated --enable-gtk-doc --enable-html-manuals &&
${maintainer_dir}/check-po.sh -nodummy &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]