File: 30dh-sequence

package info (click to toggle)
dh-builtusing 0.0.12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: sh: 456; perl: 152; makefile: 23
file content (25 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
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
#!/bin/sh

. ./test_helper.sh

mkdir -p "$AUTOPKGTEST_TMP/pkg/debian"
cd       "$AUTOPKGTEST_TMP/pkg"

fake_changelog > debian/changelog

{
    fake_control_header 'dh-sequence-builtusing, dpkg-dev'

    fake_control_package foo all '${dh-builtusing:dpkg-dev}'

} > debian/control

echo '#!/usr/bin/make -f
%:
	dh $@
' > debian/rules
chmod +x debian/rules

debian/rules binary

check_control foo dpkg