--- mktemp.old/debian/rules Thu Aug 21 21:07:09 2008 +++ /opt/emdebian/trunk/m/mktemp/trunk/mktemp-1.5/debian/rules Thu Aug 21 21:07:28 2008 @@ -18,7 +18,7 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) \ - --cache=config.$(DEB_HOST_GNU_TYPE).cache + --cache=$(DEB_HOST_GNU_TYPE).cache else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif @@ -55,24 +55,19 @@ rm -rf debian/mktemp # Add here commands to install the package into debian/mktemp. - $(MAKE) install prefix=$(CURDIR)/debian/mktemp/usr \ - bindir=$(CURDIR)/debian/mktemp/bin + install -d debian/mktemp/DEBIAN + install -d debian/mktemp/bin + install mktemp debian/mktemp/bin - # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install checkroot - $(INSTALL_DIR) debian/mktemp/DEBIAN debian/mktemp/usr/share/doc/mktemp - $(INSTALL_FILE) debian/changelog debian/mktemp/usr/share/doc/mktemp/changelog.Debian - $(INSTALL_FILE) README debian/copyright debian/mktemp/usr/share/doc/mktemp/ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip --remove-section=.comment --remove-section=.note debian/mktemp/bin/mktemp endif - gzip -9f debian/mktemp/usr/share/man/man1/mktemp.1 \ - debian/mktemp/usr/share/doc/mktemp/changelog.Debian dpkg-shlibdeps -Tdebian/mktemp.substvars debian/mktemp/bin/mktemp dpkg-gencontrol -ldebian/changelog -isp -Tdebian/mktemp.substvars -Pdebian/mktemp