[Glibc-bsd-commits] r3687 - in trunk/istgt/debian: . patches

Arno Töll atoell-guest at alioth.debian.org
Sat Aug 20 15:52:45 UTC 2011


Author: atoell-guest
Date: 2011-08-20 15:52:44 +0000 (Sat, 20 Aug 2011)
New Revision: 3687

Added:
   trunk/istgt/debian/patches/make-build-failures-fatal.patch
Modified:
   trunk/istgt/debian/changelog
   trunk/istgt/debian/patches/series
Log:
Make sure, the upstream Makefile detects build failures. Fixes an empty package bug for Hurd

Modified: trunk/istgt/debian/changelog
===================================================================
--- trunk/istgt/debian/changelog	2011-08-20 14:26:49 UTC (rev 3686)
+++ trunk/istgt/debian/changelog	2011-08-20 15:52:44 UTC (rev 3687)
@@ -1,3 +1,13 @@
+istgt (0.4~20110717-2) unstable; urgency=low
+
+  * Make debian/copyright more readable
+  * Provide a non-functional watch file to follow glibc-bsd conventions to
+    denote the problem with it in a comment
+  * Fix a not detected build failure due to a problem in upstream's Makefile
+    for the GNU/Hurd architecture (debian/patches/).
+
+ -- Arno Töll <debian at toell.net>  Sat, 20 Aug 2011 12:57:38 -0400
+
 istgt (0.4~20110717-1) unstable; urgency=low
 
   [ Arno Töll ]

Added: trunk/istgt/debian/patches/make-build-failures-fatal.patch
===================================================================
--- trunk/istgt/debian/patches/make-build-failures-fatal.patch	                        (rev 0)
+++ trunk/istgt/debian/patches/make-build-failures-fatal.patch	2011-08-20 15:52:44 UTC (rev 3687)
@@ -0,0 +1,68 @@
+Description: Make `make' errors fatal
+ Currently, the Makefile does not detect when a subsequent call to `make'
+ in a subdirectory failed for some reasons. This patch checks return status
+ of those calls and makes the top level Makefile fail if needed. 
+ .
+ * Makefile.in: Add sanity check
+
+Forwarded: yes
+Author: Arno Töll <debian at toell.net>
+
+Index: istgt-0.4~20110717/Makefile.in
+===================================================================
+--- istgt-0.4~20110717.orig/Makefile.in	2011-08-20 13:17:57.000000000 -0400
++++ istgt-0.4~20110717/Makefile.in	2011-08-20 13:19:56.500943276 -0400
+@@ -36,17 +36,17 @@
+ 
+ all:
+ 	for subdir in $(SUBDIRS); do \
+-	  cd $$subdir; $(MAKE) $@; cd ..; \
++	  $(MAKE) -C $$subdir $@ || exit $?; \
+ 	done
+ 
+ install:
+ 	for subdir in $(SUBDIRS); do \
+-	  cd $$subdir; $(MAKE) $@; cd ..; \
++	  $(MAKE) -C $$subdir $@ || exit $?; \
+ 	done
+ 
+ install-doc:
+ 	for subdir in doc; do \
+-	  cd $$subdir; $(MAKE) $@; cd ..; \
++	  $(MAKE) -C $$subdir $@; \
+ 	done
+ 
+ 
+@@ -57,7 +57,7 @@
+ 	  cp -p $(srcdir)/$$file $(DISTDIR); \
+ 	done
+ 	for subdir in $(SUBDIRS); do \
+-	  cd $$subdir; $(MAKE) subdir=$$subdir $@; cd ..; \
++	  $(MAKE) -C $$subdir subdir=$$subdir $@ || exit $?; \
+ 	done
+ 	tar cf - $(DISTDIR) | gzip -9c > $(DISTNAME)
+ 	rm -rf $(DISTDIR) distdir
+@@ -67,12 +67,12 @@
+ 
+ clean: local-clean
+ 	for subdir in $(SUBDIRS); do \
+-	  cd $$subdir; $(MAKE) $@; cd ..; \
++	  $(MAKE) -C $$subdir $@ || exit $?; \
+ 	done
+ 
+ distclean: clean local-distclean
+ 	for subdir in $(SUBDIRS); do \
+-	  cd $$subdir; $(MAKE) $@; cd ..; \
++	  $(MAKE) -C $$subdir $@ || exit $?; \
+ 	done
+ 
+ local-clean:
+@@ -85,7 +85,7 @@
+ 
+ depend:
+ 	for subdir in $(SUBDIRS); do \
+-	  cd $$subdir; $(MAKE) $@; cd ..; \
++	  $(MAKE) -C $$subdir $@ || exit $?; \
+ 	done
+ 
+ #########################################################################

Modified: trunk/istgt/debian/patches/series
===================================================================
--- trunk/istgt/debian/patches/series	2011-08-20 14:26:49 UTC (rev 3686)
+++ trunk/istgt/debian/patches/series	2011-08-20 15:52:44 UTC (rev 3687)
@@ -1,2 +1,3 @@
 handle-destdir.patch
 fix-installdir.patch
+make-build-failures-fatal.patch




More information about the Glibc-bsd-commits mailing list