~ubuntu-branches/ubuntu/utopic/darcsum/utopic

« back to all changes in this revision

Viewing changes to debian/emacsen-install

  • Committer: Package Import Robot
  • Author(s): TANIGUCHI Takaki
  • Date: 2013-05-14 15:23:01 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130514152301-pf7tu4ugk35f0920
Tags: 1.10+20120116-1
* Imported upstream darcs repository.
* debian/rules:
  + Don't build unneed hakyll.
  + install emacsen script to generic emacsen config directory.
* debian/docs: Add README.md
* Update emacsen script. (Closes: #671570)
* debian/source/format: 3.0.
* debian/control:
  + Add support Emacs 24 and depend on emacsen.  (Closes: #674239)
  + Bump Standars to 3.9.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
24
24
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
 
25
ELRELDIR=../../../emacs/site-lisp/${PACKAGE}
25
26
 
26
27
# Install-info-altdir does not actually exist.
27
28
# Maybe somebody will write it.
33
34
install -m 755 -d ${ELCDIR}
34
35
cd ${ELDIR}
35
36
FILES=`echo *.el`
36
 
cp ${FILES} ${ELCDIR}
37
37
cd ${ELCDIR}
 
38
ln -sf ${ELRELDIR}/*.el .
38
39
 
39
40
cat << EOF > path.el
40
 
(setq load-path (cons "." load-path) byte-compile-warnings nil)
 
41
(debian-pkg-add-load-path-item ".")
 
42
(setq byte-compile-warnings nil)
41
43
EOF
42
44
${FLAVOR} ${FLAGS} ${FILES}
43
 
rm -f *.el path.el
 
45
rm -f path.el
44
46
 
45
47
exit 0