This one time, at band camp, Neil Williams said:
> DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
>
> # method copied from db4.2
> USE_64PARSER_CPUS = zx86_64z
>
> ifeq (,$(findstring z$(DEB_BUILD_GNU_CPU)z,$(USE_64PARSER_CPUS)))
> ${CP} Makefile.64 Makefile
> endif
I don't know the package at all, so excuse me if I leap to conclusions.
The thing I see there that bugs me is that at the end of a build/clean
run, the source tree will be different, as you've lost the Makefile for
32bit systems.
I would suggest something like:
MAKEFILE = Makefile
DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
USE_64PARSER_CPUS = zx86_64z
ifeq (,$(findstring z$(DEB_BUILD_GNU_CPU)z,$(USE_64PARSER_CPUS)))
MAKEFILE = Makefile.64
endif
...
${MAKE} -f ${MAKEFILE}
Take care,
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : [EMAIL PROTECTED] |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
signature.asc
Description: Digital signature

