about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjbu <pullmoll@t-online.de>2015-09-28 11:43:30 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-09-28 13:44:37 +0200
commit825bbd392bad1450e0dd5d6f2a1455c47d5bab8a (patch)
tree9c682bea2854a7317755cbd10430806b6bcd044e
parent5bb75128f944c61a93f6ebf379c6e78f9c77bfd5 (diff)
downloadxtools-825bbd392bad1450e0dd5d6f2a1455c47d5bab8a.tar.gz
xtools-825bbd392bad1450e0dd5d6f2a1455c47d5bab8a.tar.xz
xtools-825bbd392bad1450e0dd5d6f2a1455c47d5bab8a.zip
xlint: detect deprecated <pkgname>-docs() subpkgs v0.29
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index 784fdf4..0658278 100755
--- a/xlint
+++ b/xlint
@@ -154,6 +154,7 @@ for template; do
 	scan '^(?!\s*('"$variables"'))[^\s=-]+=' \
 		"custom variables should use _ prefix: \2"
 	scan '^[^ =]*=(""|''|)$' "variable set to empty string: \2"
+	scan '^(.*)-docs_package().*' 'use <pkgname>-doc subpackage for documentation'
 	scan 'distfiles=.*sourceforge\.net' 'use $SOURCEFORGE_SITE'
 	scan 'distfiles=.*savannah.nongnu\.org' 'use $NONGNU_SITE'
 	scan 'distfiles=.*archive\.ubuntu\.com' 'use $UBUNTU_SITE'