[Pkg-mono-svn-commits] rev 3799 - in monodoc/trunk/debian: . patches

David Paleino hanska-guest at alioth.debian.org
Sun Nov 23 16:41:39 UTC 2008


Author: hanska-guest
Date: 2008-11-23 16:41:38 +0000 (Sun, 23 Nov 2008)
New Revision: 3799

Modified:
   monodoc/trunk/debian/control
   monodoc/trunk/debian/patches/04_fix_Novell_docs.dpatch
   monodoc/trunk/debian/rules
Log:
Trying to sanitize build


Modified: monodoc/trunk/debian/control
===================================================================
--- monodoc/trunk/debian/control	2008-11-23 15:43:28 UTC (rev 3798)
+++ monodoc/trunk/debian/control	2008-11-23 16:41:38 UTC (rev 3799)
@@ -6,6 +6,9 @@
 Build-Depends: debhelper (>= 5), dpatch
 Build-Depends-Indep: cli-common-dev (>= 0.4.0), 
  pkg-config, 
+ autotools-dev,
+ autoconf,
+ automake,
  libmono-dev (>= 1.2.5), 
  mono-gac (>= 1.0), 
  mono-xsp-base (>= 1.1.9), 

Modified: monodoc/trunk/debian/patches/04_fix_Novell_docs.dpatch
===================================================================
--- monodoc/trunk/debian/patches/04_fix_Novell_docs.dpatch	2008-11-23 15:43:28 UTC (rev 3798)
+++ monodoc/trunk/debian/patches/04_fix_Novell_docs.dpatch	2008-11-23 16:41:38 UTC (rev 3799)
@@ -17,19 +17,6 @@
  	Novell.source Novell.zip Novell.tree
  
  if BUILD_CSERRORS
-diff -urNad monodoc-2.0~/class/Makefile.in monodoc-2.0/class/Makefile.in
---- monodoc-2.0~/class/Makefile.in	2008-10-17 12:11:22.000000000 +0100
-+++ monodoc-2.0/class/Makefile.in	2008-10-17 12:12:04.000000000 +0100
-@@ -152,7 +152,8 @@
- 	netdocs.tree netdocs.zip netdocs.source			\
- 	nunit-docs.tree nunit-docs.zip nunit-docs.source	\
- 	Mono.tree Mono.zip Mono.source 				\
--	mono-tools.tree mono-tools.zip mono-tools.source
-+	mono-tools.tree mono-tools.zip mono-tools.source	\
-+	Novell.tree Novell.zip Novell.source
- 
- @BUILD_CSERRORS_TRUE at cserrors_sources_DATA = \
- @BUILD_CSERRORS_TRUE@	cs-errors.tree cs-errors.zip cs-errors.source
 diff -urNad monodoc-2.0~/class/Novell.source monodoc-2.0/class/Novell.source
 --- monodoc-2.0~/class/Novell.source	1970-01-01 01:00:00.000000000 +0100
 +++ monodoc-2.0/class/Novell.source	2008-10-17 12:12:34.000000000 +0100

Modified: monodoc/trunk/debian/rules
===================================================================
--- monodoc/trunk/debian/rules	2008-11-23 15:43:28 UTC (rev 3798)
+++ monodoc/trunk/debian/rules	2008-11-23 16:41:38 UTC (rev 3799)
@@ -6,10 +6,22 @@
 export MONO_SHARED_DIR=$(CURDIR)
 CURVER = $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1)
 
-build: patch build-stamp
-build-stamp: 
+configure: configure-stamp
+configure-stamp: patch
 	dh_testdir
+	
+	aclocal
+	autoconf
+	automake --add-missing --copy
+	
 	CSC=/usr/bin/csc ./configure --prefix=/usr
+	
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	
 	$(MAKE)
 	
 	touch build-stamp
@@ -23,10 +35,11 @@
 	    tools/monodocer1.exe.mdb tools/monodocs2html.exe \
 	    tools/monodocs2html.exe.mdb tools/monodocs2slashdoc.exe \
 	    tools/monodocs2slashdoc.exe.mdb
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f build-stamp
-	rm -rf $$MONO_SHARED_DIR/.wapi
-	dh_clean 
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -rf $$MONO_SHARED_DIR/.wapi autom4te.cache/
+	find . -name "Makefile.in" | xargs rm -rf
+	find . -name "*.dll" -o -name "*.mdb" | xargs rm -rf
+	dh_clean build-stamp configure-stamp configure config.sub config.guess aclocal.m4 missing
 
 install: build
 	dh_testdir




More information about the Pkg-mono-svn-commits mailing list