summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoverstreet <kent.overstreet@gmail.com>2018-02-11 21:03:36 -0500
committerGitHub <noreply@github.com>2018-02-11 21:03:36 -0500
commit8d95f4a437a2a4a5f8a18be00d8d74dcc4767f51 (patch)
tree2b732419108c9582ae0cbb41076ee20e39827013
parent813862a47ca866082ca3002441df6c13b47f1b0d (diff)
parent3c85d9f009804fb5e9ab787050b9deab1164dd71 (diff)
Merge pull request #2 from modelrockettier/master
Improve Debian Package Builds
-rw-r--r--Makefile9
-rw-r--r--debian/compat2
-rwxr-xr-xdebian/rules5
3 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index e773b46..ef1eacf 100644
--- a/Makefile
+++ b/Makefile
@@ -71,12 +71,9 @@ clean:
.PHONY: deb
deb: all
- debuild --unsigned-source \
- --unsigned-changes \
- --no-pre-clean \
- --build=binary \
- --diff-ignore \
- --tar-ignore
+# --unsigned-source --unsigned-changes --no-pre-clean --build=binary
+# --diff-ignore --tar-ignore
+ debuild -us -uc -nc -b -i -I
.PHONE: update-bcachefs-sources
update-bcachefs-sources:
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/rules b/debian/rules
index 4f2c774..ae98f5c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,9 @@
#!/usr/bin/make -f
+
+PREFIX := /usr
+
%:
dh $@
+override_dh_auto_install:
+ dh_auto_install -- "PREFIX=$(PREFIX)"