[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Remove support for my nodoc DEB_BUILD_OPTIONS variable. It...



Update of /home/or/cvsroot/tor/debian
In directory moria:/tmp/cvs-serv28174

Modified Files:
      Tag: tor-0_1_1-patches
	changelog rules 
Log Message:
Remove support for my nodoc DEB_BUILD_OPTIONS variable.  It clutters stuff and I haven't used it in ages

Index: changelog
===================================================================
RCS file: /home/or/cvsroot/tor/debian/changelog,v
retrieving revision 1.168.2.1
retrieving revision 1.168.2.2
diff -u -p -d -r1.168.2.1 -r1.168.2.2
--- changelog	10 Apr 2006 19:42:18 -0000	1.168.2.1
+++ changelog	5 May 2006 14:23:27 -0000	1.168.2.2
@@ -1,3 +1,10 @@
+tor (0.1.1.XXXXXXX) XXperimental; urgency=low
+
+  * Remove support for my nodoc DEB_BUILD_OPTIONS variable.  It clutters
+    stuff and I haven't used it in ages.
+
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Wed, 12 Apr 2006 00:27:54 +0200
+
 tor (0.1.1.18-rc-1) experimental; urgency=low
 
   * New upstream version.

Index: rules
===================================================================
RCS file: /home/or/cvsroot/tor/debian/rules,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -u -p -d -r1.23 -r1.23.2.1
--- rules	11 Mar 2006 19:05:06 -0000	1.23
+++ rules	5 May 2006 14:23:27 -0000	1.23.2.1
@@ -35,11 +35,6 @@ endif
 #	INSTALL_PROGRAM += -s
 #endif
 
-# Prevent the design paper from being built with "nodoc"
-ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
-	BUILD_DOC = no
-endif
-
 # Prevent the unit tests from being run with "nocheck"
 ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	RUN_TEST = no
@@ -111,19 +106,7 @@ build-stamp:  config.status
 	fi
 	# XXX ends
 
-	if [ "$(BUILD_DOC)" != "no" ]; then \
-		make -C doc/design-paper tor-design.ps tor-design.pdf || \
-		( echo -e "*\n*\n*\n*"; \
-		  echo "* Building some docs failed, perhaps because you did not install the"; \
-		  echo "* declared build dependencies and then used -o with dpkg-buildpackage."; \
-		  echo "*"; \
-		  echo "* If you want to skip this part, you can set nodoc in DEB_BUILD_OPTIONS" ; \
-		  echo "* and start the build again.  DEB_BUILD_OPTIONS=nodoc dpkg-buildpackage.."; \
-		  echo -e "*\n*\n*\n*"; \
-		  false ); \
-	else \
-		echo -e "\n\nSkipping tor-design.{ps,pdf}\n\n"; \
-	fi
+	make -C doc/design-paper tor-design.ps tor-design.pdf
 
 	touch build-stamp
 
@@ -173,10 +156,6 @@ binary-arch: build install
 	dh_testroot
 	dh_installchangelogs ChangeLog
 	dh_installdocs
-	if [ "$(BUILD_DOC)" != "no" ]; then \
-		install -m 644 doc/design-paper/tor-design.ps  $(CURDIR)/debian/tor/usr/share/doc/tor/; \
-		install -m 644 doc/design-paper/tor-design.pdf $(CURDIR)/debian/tor/usr/share/doc/tor/; \
-	fi
 	dh_installexamples
 #	dh_install
 #	dh_installdebconf