[Pkg-cups-devel] r686 - in cupsys/trunk: . debian

Martin Pitt mpitt at alioth.debian.org
Tue Feb 26 13:25:39 UTC 2008


Author: mpitt
Date: Tue Feb 26 13:25:39 2008
New Revision: 686

Log:
* debian/rules: Add a generic rule to install lintian overrides in
  debian/packagename.lintian.

Modified:
   cupsys/trunk/   (props changed)
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/rules

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Tue Feb 26 13:25:39 2008
@@ -15,8 +15,10 @@
     current frontends (web, system-config-printer, etc.) do this in a much
     better way.
   * debian/docs: Remove redundant LICENSE.txt.
+  * debian/rules: Add a generic rule to install lintian overrides in
+    debian/packagename.lintian.
 
- -- Martin Pitt <mpitt at debian.org>  Tue, 26 Feb 2008 13:38:36 +0100
+ -- Martin Pitt <mpitt at debian.org>  Tue, 26 Feb 2008 13:52:09 +0100
 
 cupsys (1.3.5-2) unstable; urgency=low
 

Modified: cupsys/trunk/debian/rules
==============================================================================
--- cupsys/trunk/debian/rules	(original)
+++ cupsys/trunk/debian/rules	Tue Feb 26 13:25:39 2008
@@ -38,9 +38,14 @@
 
 common-install-prehook-impl::
 	(cd fonts && $(MAKE) install BUILDROOT=$(DEB_DESTDIR))
+
 $(patsubst %,install/%,$(DEB_ALL_PACKAGES)) :: install/%:
 	dh_movefiles -p$(cdbs_curpkg)
 
+	# install lintian overrides
+	L=debian/$(cdbs_curpkg).lintian; \
+	[ -e $$L ] && install -D -m 644 $$L debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg) || true
+
 binary-post-install/cupsys::
 	(cd $(DEB_DESTDIR)/../cupsys/usr/share/doc/cupsys && ln -sf ../../cups/doc-root online-docs)
 



More information about the Pkg-cups-devel mailing list