File: mk-binary

package info (click to toggle)
debview 1.4-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 76 kB
  • ctags: 15
  • sloc: lisp: 212; sh: 65; makefile: 20
file content (27 lines) | stat: -rwxr-xr-x 956 bytes parent folder | download | duplicates (3)
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
#! /bin/sh -e

rm -rf debian/tmp
mkdir -p debian/tmp debian/tmp/DEBIAN
install -m 775 debian/{prerm,postinst} debian/tmp/DEBIAN

install -d debian/tmp/usr/share/emacs/site-lisp/debview
cp deb-view.el debian/tmp/usr/share/emacs/site-lisp/debview/deb-view.el

install -d debian/tmp/usr/lib/emacsen-common/packages/install
cp install debian/tmp/usr/lib/emacsen-common/packages/install/debview
install -d debian/tmp/usr/lib/emacsen-common/packages/remove
cp remove debian/tmp/usr/lib/emacsen-common/packages/remove/debview

install -d debian/tmp/etc/emacs/site-start.d
cp 50debview.el debian/tmp/etc/emacs/site-start.d

install -d debian/tmp/usr/doc/debview
cp debian/changelog debian/tmp/usr/doc/debview/changelog.Debian
cp README debian/tmp/usr/doc/debview
gzip -9v debian/tmp/usr/doc/debview/*
cp debian/copyright debian/tmp/usr/doc/debview/copyright

dpkg-gencontrol
chown -R root.root debian/tmp
chmod -R u=rwX,go=rX debian/tmp
dpkg --build debian/tmp ..