[Linux-cluster] [PATCH] clean fence/bin and gfs/bin
Bastian Blank
bastian at waldi.eu.org
Wed Sep 15 12:42:22 UTC 2004
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
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20040915/7fe87278/attachment.sig>
More information about the Linux-cluster
mailing list