Revision 22699,
968 bytes
checked in by ghudson, 17 years ago
(diff) |
Snapshot the Debathena materials for Athena packages into "debian"
subdirs of the relevant Athena sources, pulling from
/mit/debathena/packages/athena. Some big caveats:
- Six Debathena packages are excluded because the current Athena 10
project plan does not call for building them: config-console
console, dotfiles, glue, olc, and xscreensaver. (dotfiles and
glue will be replaced with new Debathena-specific packages.)
- Debathena does not cover all Athena packages which are called for
to be built; Debian directories for these packages will have to be
created.
- Some of the packages contain patches, managed by quilt. The plan
is to review and apply (or otherwise address) these patches and
eliminate them.
- The debian/rules files for Debathena packages are designed for use
with the result of the athena-tarball script (from
/mit/debathena/packages/athena/bin which I don't currently plan to
import), and will not work with the raw source directories. The
plan here is to write a CDBS extension package containing rules to
handle raw Athena source directories, and then modify the rules
files appropriately.
|
Line | |
---|
1 | #! /bin/sh -e |
---|
2 | # /usr/lib/emacsen-common/packages/install/debathena-discuss-emacs |
---|
3 | |
---|
4 | # Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily |
---|
5 | # from the install scripts for gettext by Santiago Vila |
---|
6 | # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. |
---|
7 | |
---|
8 | FLAVOR=$1 |
---|
9 | PACKAGE=debathena-discuss-emacs |
---|
10 | |
---|
11 | if [ ${FLAVOR} = emacs ]; then exit 0; fi |
---|
12 | |
---|
13 | echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} |
---|
14 | |
---|
15 | #FLAVORTEST=`echo $FLAVOR | cut -c-6` |
---|
16 | #if [ ${FLAVORTEST} = xemacs ] ; then |
---|
17 | # SITEFLAG="-no-site-file" |
---|
18 | #else |
---|
19 | # SITEFLAG="--no-site-file" |
---|
20 | #fi |
---|
21 | FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" |
---|
22 | |
---|
23 | ELDIR=/usr/share/emacs/site-lisp |
---|
24 | ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
---|
25 | |
---|
26 | install -m 755 -d ${ELCDIR} |
---|
27 | cd ${ELDIR} |
---|
28 | FILES=`echo discuss*.el` |
---|
29 | cp ${FILES} ${ELCDIR} |
---|
30 | cd ${ELCDIR} |
---|
31 | |
---|
32 | cat << EOF > path.el |
---|
33 | (setq load-path (cons "." load-path) byte-compile-warnings nil) |
---|
34 | EOF |
---|
35 | ${FLAVOR} ${FLAGS} ${FILES} |
---|
36 | rm -f *.el path.el |
---|
37 | |
---|
38 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.