File: check

package info (click to toggle)
wn 2.0.5-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,208 kB
  • ctags: 1,499
  • sloc: ansic: 14,439; sh: 2,430; perl: 1,360; makefile: 291
file content (41 lines) | stat: -rw-r--r-- 923 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
#
# source:
#   /var/cvs/projects/debian/wn/debian/dpkg.scripts/check,v
#
# revision:
#   @(#) check,v 1.2 1999/02/02 03:42:24 jplejacq Exp
#
# copyright:
#   Copyright (C) 1999 Jean Pierre LeJacq <jplejacq@quoininc.com>
#
#   Distributed under the GNU GENERAL PUBLIC LICENSE.
#
# synopsis:
#   . check
#
# description:
#   Check binary packages.
#
#   This program overrides dpkg.common/check.in so that you have the
#   opportunity to override the standard checks.


readonly html_style_overrides="\
  ${DH_TMPDIR}${d_pkg_doc}/appendixA1.html\
  ${DH_TMPDIR}${d_pkg_doc}/appendixA2.html\
"


check_html_style_overrides()
# postconditions:
#   Return 0 on error, non-zero otherwise.
#
# description:
#   Check HTML for compliance to weblint style checker.
#
#   I'm disabling physical-font checks in these two html pages since
#   these tags are used in a sensible fashion.
{
  weblint -d physical-font "${1}"
}