/usr/lib/emacsen-common/packages/install/windows-el is in windows-el 2.48-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #! /bin/sh -e
FLAVOR=$1
PACKAGE=windows
echo install/${PACKAGE}: Handling install of emacsen flavor ${FLAVOR}
SRCS="windows.el revive.el"
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
byte_compile_options="-batch -q -no-site-file -l ${ELDIR}/pre.el -f batch-byte-compile"
if [ ${FLAVOR} = emacs ]
then
echo "Ignoring emacsen flavor ${FLAVOR}"
else
echo install/${PACKAGE}: byte-compiling for ${FLAVOR}
install -m 755 -d ${ELCDIR}
# make symlinks for source files for compiling, and for
# find-function and find-library to work properly
for f in ${SRCS}; do
ln -sf ${ELDIR}/${f} ${ELCDIR}/${f}
done
# Byte compile them
(cd ${ELCDIR}
for i in ${SRCS}
do
${FLAVOR} ${byte_compile_options} ${i}
done 2>&1 | gzip -9qf > CompilationLog.gz
)
fi
exit 0
|