~ubuntu-branches/ubuntu/natty/emacsen-common/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Rob Browning
  • Date: 2009-05-17 15:42:24 UTC
  • mfrom: (3.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090517154224-brhwbapl75pfoscj
Tags: 1.4.19
* Move the sample package install/remove scripts from
  debian-emacs-policy to the files sample-package-install-foo and
  sample-package-remove-foo in /usr/share/doc/emacsen-common.

* Fix some suspicious code in the sample package install/remove scripts.
  Thanks to Kevin Ryde <user42@zip.com.au>. (closes: 424940)

* Update debian-file->string to use insert-file-contents-literally.
  Change gnus-nntpserver-file defvar to setq.  Thanks to Jari Aalto
  <jari.aalto@poboxes.com>. (closes: 269155)

* Always call debian-run-directories.  Previously a bug would prevent it
  from running if debian-emacs-flavor wasn't set.  Thanks to Francesco
  Potorti` <pot@gnu.org> and Andrew Kemp <ajwk@pell.uklinux.net>.
  (closes: 222518, 136779)

* Thanks to Agustin Martin Domingo <agmartin@debian.org> for collecting
  and incorporating many of the fixes in the previous release, this
  release, and probably the next several releases into his git
  repository.  That work is being used heavily as a reference during
  these updates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
buildpackage:
34
34
        $(checkdir)
35
 
        dpkg-buildpackage -D -rfakeroot \
36
 
          -i'\\+\\+pristine-trees|\\+\\+saved.*|,,.*|{arch}|\.arch-ids' \
37
 
          -I"*/++*" \
38
 
          -I"*/,,*" \
39
 
          -I"*/{arch}" \
40
 
          -I"*/.arch-ids"
 
35
        dpkg-buildpackage -D -us -uc -rfakeroot -i
41
36
.PHONY: buildpackage
42
37
 
43
38
build: debian/stamp/build
100
95
        install -d debian/tmp/usr/share/doc/emacsen-common
101
96
        cp debian/changelog debian/tmp/usr/share/doc/emacsen-common/
102
97
        cp debian-emacs-policy debian/tmp/usr/share/doc/emacsen-common/
 
98
        cp sample-package-install-foo  debian/tmp/usr/share/doc/emacsen-common/
 
99
        cp sample-package-remove-foo  debian/tmp/usr/share/doc/emacsen-common/
103
100
        find debian/tmp/usr/share/doc/emacsen-common -type f \
104
101
          | xargs gzip -9v
105
102
        cp debian/copyright debian/tmp/usr/share/doc/emacsen-common