[Python-modules-commits] r6999 - in packages/python-networkx/trunk/debian (changelog rules)

kibi at users.alioth.debian.org kibi at users.alioth.debian.org
Fri Nov 28 06:30:23 UTC 2008


    Date: Friday, November 28, 2008 @ 06:30:22
  Author: kibi
Revision: 6999

Take care of README renaming (again).

Modified:
  packages/python-networkx/trunk/debian/changelog
  packages/python-networkx/trunk/debian/rules

Modified: packages/python-networkx/trunk/debian/changelog
===================================================================
--- packages/python-networkx/trunk/debian/changelog	2008-11-28 06:18:54 UTC (rev 6998)
+++ packages/python-networkx/trunk/debian/changelog	2008-11-28 06:30:22 UTC (rev 6999)
@@ -10,9 +10,10 @@
      + debian/patches/10_doc_relocation.
   * debian/rules:
      + Update uneeded file list, only INSTALL.txt left.
-     + Stop renaming a file and removing a directory, both gone.
+     + Update README renaming, using a new $(DEBIANDOC_DIR) variable.
+     + Stop removing a directory, no longer created.
   * debian/docs:
-     + Deleted, README is gone.
+     + Deleted, README taken care of through debian/rules.
   * debian/control:
      + Update my mail address.
   * debian/copyright:

Modified: packages/python-networkx/trunk/debian/rules
===================================================================
--- packages/python-networkx/trunk/debian/rules	2008-11-28 06:18:54 UTC (rev 6998)
+++ packages/python-networkx/trunk/debian/rules	2008-11-28 06:30:22 UTC (rev 6999)
@@ -10,6 +10,7 @@
 #export DH_VERBOSE=1
 
 PYSUPPORT_DIR=debian/python-networkx/usr/share/python-support/python-networkx
+DEBIANDOC_DIR=$(CURDIR)/debian/python-networkx/usr/share/doc/python-networkx
 
 include /usr/share/quilt/quilt.make
 
@@ -44,9 +45,12 @@
 		--single-version-externally-managed
 
 	# Do some cleanup: delete an unneeded file
-	rm $(CURDIR)/debian/python-networkx/usr/share/doc/python-networkx/INSTALL.txt
+	rm $(DEBIANDOC_DIR)/INSTALL.txt
 
+	# Rename the README file.
+	mv $(DEBIANDOC_DIR)/README.txt $(DEBIANDOC_DIR)/README
 
+
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir




More information about the Python-modules-commits mailing list