File: mkdeb.sh.in

package info (click to toggle)
printer-driver-indexbraille 1.2.3-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 152 kB
  • sloc: ansic: 90; makefile: 64; sh: 61
file content (18 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

DEB_DIST=dist-deb
DISTDIR=$DEB_DIST/@PACKAGE@-@VERSION@
DISTFILE=@PACKAGE@-@VERSION@.tar.bz2
DISTFILE_ORIG=@PACKAGE@_@VERSION@.orig.tar.bz2

make dist-bzip2 || exit 1

rm -rf $DISTDIR
mkdir -p $DISTDIR || exit 1
tar xjf $DISTFILE -C $DEB_DIST

cp -r debian $DISTDIR || exit 1
mv $DISTFILE $DEB_DIST/$DISTFILE_ORIG || exit 1
cd $DISTDIR || exit 1

debuild -us -uc