Commit 3758a72d authored by Mike Miller's avatar Mike Miller

Create symlink to emacs lisp source as required by Debian Emacs Policy. (Closes: #713003)

parent 361768b3
......@@ -12,14 +12,10 @@ if [ "$FLAVOR" != emacs ]
then
echo "install/cdargs: byte-compiling for $FLAVOR"
# Copy the temp .el files
trap "rm -f \"$elc_dir/$el_file\"" 0
cp "$el_dir/$el_file" "$elc_dir/$el_file"
# Create symlinks to the .el files (debian-emacs policy section 5E)
( cd "$elc_dir" && ln -sf "$el_dir/$el_file" "$el_file" )
# Byte compile them
"$FLAVOR" $byte_compile_options "$elc_dir/$el_file" > /dev/null 2>&1
rm -f "$elc_dir/$el_file"
trap "" 0
fi
exit 0
......@@ -7,5 +7,6 @@ if [ "$FLAVOR" != emacs ]
then
echo "remove/cdargs: purging byte-compiled files for ${FLAVOR}"
rm -f "/usr/share/$FLAVOR/site-lisp/cdargs.elc"
rm -f "/usr/share/$FLAVOR/site-lisp/cdargs.el"
fi
exit 0
cdargs (1.35-10) UNRELEASED; urgency=low
* Create symlink to emacs lisp source as required by Debian Emacs
Policy. (Closes: #713003)
-- Mike Miller <mtmiller@ieee.org> Tue, 29 Oct 2013 23:42:05 -0400
cdargs (1.35-9) unstable; urgency=low
[ Francois Marier ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment