On July 9, 2006 at 2:37PM +0900,
tats (at vega.ocn.ne.jp) wrote:

> To find function's definition from *Help*, please create *.el symlinks

> --- mhc-0.25.1+20050120-2/debian/emacsen-install
> +++ mhc-0.25.1+20050120/debian/emacsen-install
> @@ -80,6 +80,9 @@
>  test -f mhc.elc && rm -f mhc.elc
>  make -f Makefile EMACS=${EMACS} FLAGS="${FLAGS}" OPTS="${INST_OPTS} 
> ${MEW_OPTS} ${WL_OPTS} ${GNUS_OPTS}" elc > CompilationLog 2>&1
>  rm -f *.el path.el Makefile MHC-MK CompilationLog.gz
> +for i in ${FILES}; do
> + ln -fs ${ELDIR}/$i
> +done
>  gzip -9 CompilationLog
>  
>  exit 0

The above patch causes an erorr if emacsen-install is called repeatedly.
So, I've revised the patch to prevent the error.

----
--- mhc-0.25.1+20050120-2/debian/emacsen-install
+++ mhc-0.25.1+20050120/debian/emacsen-install
@@ -44,6 +44,7 @@
 install -m 755 -d ${ELCDIR}
 cd ${ELDIR}
 FILES=`echo *.el`
+rm -f ${ELCDIR}/*.el
 cp ${FILES} Makefile MHC-MK ${ELCDIR}
 cd ${ELCDIR}
 
@@ -80,6 +81,9 @@
 test -f mhc.elc && rm -f mhc.elc
 make -f Makefile EMACS=${EMACS} FLAGS="${FLAGS}" OPTS="${INST_OPTS} 
${MEW_OPTS} ${WL_OPTS} ${GNUS_OPTS}" elc > CompilationLog 2>&1
 rm -f *.el path.el Makefile MHC-MK CompilationLog.gz
+for i in ${FILES}; do
+ ln -fs ${ELDIR}/$i
+done
 gzip -9 CompilationLog
 
 exit 0
----

-- 
Tatsuya Kinoshita

Attachment: pgpPy4Y4kKaCq.pgp
Description: PGP signature

Reply via email to