[Linux-cluster] [PATCH] clean fence/bin and gfs/bin

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

 



The Makefiles in the fence and gfs directory doesn't clean the bin
directories. The attached patch fixes this.

Bastian

-- 
I'm a soldier, not a diplomat.  I can only tell the truth.
		-- Kirk, "Errand of Mercy", stardate 3198.9
diff -urN strace-4.5.7/debian/rules strace-4.5.7.new/debian/rules
--- strace-4.5.7/debian/rules	2004-08-31 10:53:52.000000000 +0200
+++ strace-4.5.7.new/debian/rules	2004-09-13 15:14:07.000000000 +0200
@@ -3,6 +3,7 @@
 # Debian package information
 package		= strace
 
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
 ifeq ($(DEB_HOST_GNU_TYPE),sparc-linux)
@@ -11,6 +12,12 @@
   CC64 = gcc -m64
 endif
 
+ifeq ($(DEB_HOST_GNU_TYPE),s390-linux)
+  build64 = yes
+  HOST64 = s390x-linux
+  CC64 = gcc -m64
+endif
+
 ifeq ($(build64),yes)
    extra_build_targets += stamp-build64
 endif
@@ -23,11 +30,11 @@
 
 build/Makefile:
 	mkdir -p $(@D)
-	cd $(@D); sh ../configure --prefix=/usr
+	cd $(@D); sh ../configure --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
 
 build64/Makefile:
 	mkdir -p $(@D)
-	cd $(@D); CC="$(CC64)" sh ../configure --prefix=/usr --build=$(HOST64)
+	cd $(@D); CC="$(CC64)" sh ../configure --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(HOST64)
 
 clean:
 	rm -rf debian/tmp debian/substvars debian/files

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux