[Forensics-changes] [SCM] A data recovery tool branch, debian, updated. upstream/0.2-11-gf82322c
Daniel Baumann
daniel at debian.org
Tue Jan 20 02:22:07 UTC 2009
The following commit has been merged in the debian branch:
commit 0510f717505128adf1e26870abb121c459427fa1
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Jan 20 03:10:50 2009 +0100
Reordering rules file.
diff --git a/debian/rules b/debian/rules
index 458ed7d..28e716c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,58 +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) distclean
+
+ 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
+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/safecopy install
+ $(MAKE) DESTDIR=$(CURDIR)/debian/safecopy 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/safecopy.1
- dh_link
+ dh_installman
dh_strip
dh_compress
dh_fixperms
@@ -62,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 binary-arch binary-indep
--
A data recovery tool
More information about the forensics-changes
mailing list