[SCM] Debian package checker branch, master, updated. 2.4.2-11-gf4f7153
The following commit has been merged in the master branch:
commit 36825db0f164882043c19dd9ba4e6efae68aa511
Author: Raphael Geissert <atomo64@gmail.com>
Date: Tue Jul 13 10:54:15 2010 -0500
Generate dummy manpages in embedded libs test
diff --git a/t/tests/binaries-embedded-libs/debian/Makefile b/t/tests/binaries-embedded-libs/debian/Makefile
index 357b8d9..2816381 100644
--- a/t/tests/binaries-embedded-libs/debian/Makefile
+++ b/t/tests/binaries-embedded-libs/debian/Makefile
@@ -1,17 +1,23 @@
BINARIES := zlib libpng libjpeg libopenjpeg
+MANPAGES := $(patsubst %,%.1,$(BINARIES))
-all: $(BINARIES)
+all: $(BINARIES) $(MANPAGES)
%: %.c
gcc -o $* $*.c
+%.1: template.1
+ sed 's/#BIN#/$*/g' < $< > $@
+
install:
install -d $(DESTDIR)/usr/bin
+ install -d $(DESTDIR)/usr/share/man/man1
for b in $(BINARIES); do \
install -m 755 -c $$b $(DESTDIR)/usr/bin/$$b; \
+ install -m 644 -c $$b.1 $(DESTDIR)/usr/share/man/man1/$$b.1; \
done
clean distclean:
- rm -f $(BINARIES)
+ rm -f $(BINARIES) $(MANPAGES)
check test:
diff --git a/t/tests/binaries-embedded-libs/debian/template.1 b/t/tests/binaries-embedded-libs/debian/template.1
new file mode 100644
index 0000000..e193a57
--- /dev/null
+++ b/t/tests/binaries-embedded-libs/debian/template.1
@@ -0,0 +1,24 @@
+.\" Copyright (C) 2010 Raphael Geissert <atomo64@gmail.com>
+.\"
+.\" This is free software; you may redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; either version 2,
+.\" or (at your option) any later version.
+.\"
+.\" This is distributed in the hope that it will be useful, but
+.\" WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with the Debian GNU/Linux system; if not, write to the Free
+.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+.\" 02111-1307 USA
+.TH #BIN# "1"
+.SH NAME
+#BIN# \- dummy binary simulating embedding the #BIN# library
+.SH SYNOPSIS
+#BIN#
+.SH DESCRIPTION
+.B #BIN#
+is a dummy binary used internally by lintian as a part of its testsuite.
diff --git a/t/tests/binaries-embedded-libs/tags b/t/tests/binaries-embedded-libs/tags
index 40588c1..9030082 100644
--- a/t/tests/binaries-embedded-libs/tags
+++ b/t/tests/binaries-embedded-libs/tags
@@ -2,7 +2,3 @@ E: binaries-embedded-libs: embedded-libjpeg ./usr/bin/libjpeg
E: binaries-embedded-libs: embedded-libopenjpeg ./usr/bin/libopenjpeg
E: binaries-embedded-libs: embedded-libpng ./usr/bin/libpng
E: binaries-embedded-libs: embedded-zlib ./usr/bin/zlib
-W: binaries-embedded-libs: binary-without-manpage usr/bin/libjpeg
-W: binaries-embedded-libs: binary-without-manpage usr/bin/libopenjpeg
-W: binaries-embedded-libs: binary-without-manpage usr/bin/libpng
-W: binaries-embedded-libs: binary-without-manpage usr/bin/zlib
--
Debian package checker
Reply to: