[Forensics-changes] [SCM] A simple hex editor with a pico-style interface branch, debian, updated. upstream/1.14-12-gc325327
Daniel Baumann
daniel at debian.org
Tue Jan 20 02:50:24 UTC 2009
The following commit has been merged in the debian branch:
commit c32532743a90c052e45f507c5421e2a8c01263bb
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Jan 20 03:34:03 2009 +0100
Reordering rules file.
diff --git a/debian/rules b/debian/rules
index 1502f67..b9f935c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,57 +1,60 @@
#!/usr/bin/make -f
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+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)
+ CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
+ CROSS= --build $(DEB_BUILD_GNU_TYPE)
endif
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f config.guess config.sub
+
+ [ ! -f Makefile ] || $(MAKE) clean
+
+ dh_clean
+
config.status: configure
dh_testdir
- # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
+
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
- ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
build: build-stamp
-
build-stamp: config.status
dh_testdir
$(MAKE)
- touch $@
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) clean
- rm -f config.sub config.guess config.log config.status
- dh_clean
+ touch build-stamp
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
+
$(MAKE) DESTDIR=$(CURDIR)/debian/shed install
-binary-indep: build install
+binary: binary-arch
-binary-arch: build install
+binary-arch: install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
- dh_installman debian/shed.1
- dh_link
+ dh_installman
dh_strip
dh_compress
dh_fixperms
@@ -61,5 +64,6 @@ binary-arch: build install
dh_md5sums
dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary-indep:
+
+.PHONY: clean build install binary binar-arch binary-indep
--
A simple hex editor with a pico-style interface
More information about the forensics-changes
mailing list