~ubuntu-branches/ubuntu/quantal/dh-make/quantal

« back to all changes in this revision

Viewing changes to lib/debian/emacsen-install.ex

  • Committer: Package Import Robot
  • Author(s): Craig Small
  • Date: 2012-07-13 21:26:38 UTC
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120713212638-e2ymcmc30xek8ca4
* Update to standards version 3.9.3
* Update to debhelper version 9
* debhelper v9 uses dpkg-buildflags Closes: #644486
* Remove ldap-utils conflict as that version is not even in stable
* Changed emacsen-startup script to debian-emacs-flavour Closes:
  #662163
* Fixed emacsen-install from SamBs patch Closes: #665312
* emacsen-install uses relative symlinks Closes: #670409
* emacsen-install uses debian-pkg-add-load-path Closes: #672478
* Man page doesnt have discouraged AUTHORS section Closes: #672543
* Final version of 1.0 copyright file changed Closes: #665770
* Minor tweaks to license files Closes: #662192
* Rename x11 to mit license to follow SPDX list, same bug as above
* Add -y,--yes option to run non-interactively
* Add --packageclass,-C option to set class instead of -s,-i,-m etc
* Don't add missing when non .ex file exists Closes: #662888

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.
34
35
cd ${ELDIR}
35
36
FILES=`echo *.el`
36
37
cd ${ELCDIR}
37
 
ln -sf ${ELCDIR}/*.el .
 
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
45
rm -f path.el