[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] Bug#346392: sundials: libsundials-serial-doc should be Arch: all



Hi
> The binary package libsundials-serial-doc contains just documentation,
> so it should probably be an Architecture: all package.
is this patch sufficient (I didn't check it in, because I'm not sure
about it)?

	Thomas
Index: trunk/packages/sundials/debian/control
===================================================================
--- trunk/packages/sundials/debian/control	(Revision 398)
+++ trunk/packages/sundials/debian/control	(Arbeitskopie)
@@ -38,7 +38,7 @@
 
 Package: libsundials-serial-doc
 Section: doc
-Architecture: any
+Architecture: all
 Depends: libsundials-serial
 Recommends: libsundials-serial-dev
 Description: SUNDIALS documentation files
Index: trunk/packages/sundials/debian/changelog
===================================================================
--- trunk/packages/sundials/debian/changelog	(Revision 398)
+++ trunk/packages/sundials/debian/changelog	(Arbeitskopie)
@@ -1,3 +1,14 @@
+sundials (2.1.1-5) unstable; urgency=low
+
+   NOT YET RELEASED!
+
+   +++ Changes by Thomas Weber
+
+  * debian/control: make doc package architecture "all"
+    debian/rules: dito
+
+ --
+
 sundials (2.1.1-4) unstable; urgency=low
 
    +++ Changes by Rafael Laboissiere
Index: trunk/packages/sundials/debian/rules
===================================================================
--- trunk/packages/sundials/debian/rules	(Revision 398)
+++ trunk/packages/sundials/debian/rules	(Arbeitskopie)
@@ -81,11 +81,7 @@
 	install -d $(debusr)/include
 	install -d $(debdoc)/$(libpkg)
 	$(MAKE) install prefix=$(debusr)
-	install $(CURDIR)/cvode/doc/cv_guide.pdf	\
-		$(CURDIR)/cvodes/doc/cvs_guide.pdf	\
-		$(CURDIR)/ida/doc/ida_guide.pdf		\
-		$(CURDIR)/kinsol/doc/kin_guide.pdf	\
-		$(debdoc)/$(libpkg)
+	
 	# install lintian override file
 	install -m 644 -D debian/$(libpkg).lintian \
 	    $(debtmp)/usr/share/lintian/overrides/$(libpkg)
@@ -93,7 +89,11 @@
 
 # Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do by default.
+	install $(CURDIR)/cvode/doc/cv_guide.pdf	\
+		$(CURDIR)/cvodes/doc/cvs_guide.pdf	\
+		$(CURDIR)/ida/doc/ida_guide.pdf		\
+		$(CURDIR)/kinsol/doc/kin_guide.pdf	\
+		$(debdoc)/$(libpkg)
 
 # Build architecture-dependent files here.
 binary-arch: build install

Reply to: