[Lunar-commits] r20721 - lunar/trunk/var/lib/lunar/plugins
Auke Kok
sofar at lunar-linux.org
Sat Jul 15 17:55:06 UTC 2006
Author: sofar
Date: 2006-07-15 17:55:05 +0000 (Sat, 15 Jul 2006)
New Revision: 20721
Modified:
lunar/trunk/var/lib/lunar/plugins/postbuild-generic.plugin
Log:
gather_docs fix - only the PLUGIN needs to de/in-voke installwatch. the plain 'gather_docs' command can skip calling it. This fixes reports of alienated files that were installed from BUILD after a call to `gather_docs`.
Modified: lunar/trunk/var/lib/lunar/plugins/postbuild-generic.plugin
===================================================================
--- lunar/trunk/var/lib/lunar/plugins/postbuild-generic.plugin 2006-07-15 16:57:29 UTC (rev 20720)
+++ lunar/trunk/var/lib/lunar/plugins/postbuild-generic.plugin 2006-07-15 17:55:05 UTC (rev 20721)
@@ -38,7 +38,6 @@
DOC_DIR=${DOCUMENT_DIRECTORY}/${MODULE}
if [ -d "$SOURCE_DIRECTORY" ] ; then
cd $SOURCE_DIRECTORY
- invoke_installwatch
mkdir -p $DOC_DIR
# For each parameter that is an existing file
for FILE in ${@}; do
@@ -48,14 +47,13 @@
install -D -m 644 ${FILE} ${DOC_DIR}/${FILE}
elif [ -d ${FILE} ] ; then
# copy the directory to the docdir
- verbose_msg "Installing extra documentation to: ${DOC_DIR}/${FILE}"
- cp -a ${FILE} ${DOC_DIR}/
+ verbose_msg "Installing extra documentation to: ${DOC_DIR}/${FILE}"
+ cp -a ${FILE} ${DOC_DIR}/
fi
done
- devoke_installwatch
- # do not return 2 here: this function is called directly and
- # must return true (0) here
- return 0
+ # do not return 2 here: this function is called directly and
+ # must return true (0) here
+ return 0
fi
return 2
}
More information about the Lunar-commits
mailing list