[Python-modules-commits] r27950 - in packages/python-netaddr/trunk/debian (rules)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Wed Feb 26 20:02:54 UTC 2014


    Date: Wednesday, February 26, 2014 @ 20:02:53
  Author: bernat
Revision: 27950

And don't install python files in documentation...

Modified:
  packages/python-netaddr/trunk/debian/rules

Modified: packages/python-netaddr/trunk/debian/rules
===================================================================
--- packages/python-netaddr/trunk/debian/rules	2014-02-26 19:52:13 UTC (rev 27949)
+++ packages/python-netaddr/trunk/debian/rules	2014-02-26 20:02:53 UTC (rev 27950)
@@ -2,7 +2,7 @@
 # -*- mode: makefile; coding: utf-8 -*-
 
 # Hack to ensure Python stuff to be installed in the right place
-DEB_PYTHON_DESTDIR = $(CURDIR)/debian/$(cdbs_curpkg)
+DEB_PYTHON_DESTDIR=$(if $(filter %-docs,$(cdbs_curpkg)),$(DEB_DESTDIR),$(CURDIR)/debian/$(cdbs_curpkg))
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk




More information about the Python-modules-commits mailing list