File: check-control

package info (click to toggle)
wine 10.0~repack-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 326,476 kB
  • sloc: ansic: 4,155,993; perl: 23,800; yacc: 22,031; javascript: 15,872; makefile: 12,346; pascal: 9,519; objc: 6,923; lex: 5,273; xml: 3,219; python: 2,688; cpp: 1,741; sh: 871; java: 750; asm: 299; cs: 62
file content (17 lines) | stat: -rwxr-xr-x 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e
# Copyright: 2025 Michael Gilbert <mgilbert@debian.org>
# License: LGPL-2.1+

if [ -e debian/control.check ]; then
    echo "error: debian/control.check should not exist before calling check-control" >&2
    exit 1
fi

make -f debian/rules debian/control.check > /dev/null
test -e debian/control || make -f debian/rules debian/control
diff="$(diff -u debian/control debian/control.check || true)"
rm -f debian/control.check
if [ "$diff" != "" ]; then
    echo "error: debian/control.in or debian/control.stable.in have changed, consider running: \$ make -f debian/rules debian/control" >&2
    exit 1
fi