summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-08 00:50:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:04 +0100
commit4d6667f5057f5a417104c5b82a51eb4d05b76bc3 (patch)
tree48688148950fd7ca338097b6a21663275aa02bc0 /debian/rules
parent694c1570628a417662a80186f484722254d4037b (diff)
downloadlive-boot-4d6667f5057f5a417104c5b82a51eb4d05b76bc3.tar.gz
live-boot-4d6667f5057f5a417104c5b82a51eb4d05b76bc3.zip
Reordering rules file.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules32
1 files changed, 12 insertions, 20 deletions
diff --git a/debian/rules b/debian/rules
index da555d9..e3c67f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,31 +1,22 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
-upstream:
- cd .. && git clone git://git.debian.org/git/users/daniel/live-initramfs.git || true
- rm -rf ../live-initramfs/.git
+ $(MAKE) -C manpages clean
+
+ dh_clean
build: build-stamp
build-stamp:
dh_testdir
- # Building package
$(MAKE) -C manpages
touch build-stamp
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Cleaning package
- $(MAKE) -C manpages clean
-
- dh_clean
-
install: build
dh_testdir
dh_testroot
@@ -43,9 +34,11 @@ install: build
# Installing bug control
install -D -m 0755 debian/bug/live-initramfs.script debian/live-initramfs/usr/share/bug/live-initramfs
-binary-arch: build install
+binary: binary-indep
+
+binary-arch:
-binary-indep: build install
+binary-indep: install
dh_testdir
dh_testroot
dh_installchangelogs docs/ChangeLog
@@ -59,5 +52,4 @@ binary-indep: build install
dh_md5sums
dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: clean build install binary binary-arch binary-indep