summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2016-11-06 19:28:47 -0300
committerFelipe Sateler <fsateler@debian.org>2016-11-06 19:28:47 -0300
commit8f2826c40e82241eac3e07458a1817521450797e (patch)
tree9c0926e6e464e01ce7111ed793a43d8957a3bdfb /rules
Import mkosi_1-1.debian.tar.xz
[dgit import tarball mkosi 1-1 mkosi_1-1.debian.tar.xz]
Diffstat (limited to 'rules')
-rwxr-xr-xrules23
1 files changed, 23 insertions, 0 deletions
diff --git a/rules b/rules
new file mode 100755
index 0000000..b610a2d
--- /dev/null
+++ b/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+
+include /usr/share/dpkg/pkg-info.mk
+
+export PYBUILD_NAME=mkosi
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild
+
+# need explicit target to be able to mark as phony
+build build-indep: debian/mkosi.1
+ dh $@ --with python3 --buildsystem=pybuild
+
+debian/mkosi.1:
+ help2man --name "Create legacy-free OS images" \
+ --version-string "mkosi $(DEB_VERSION_UPSTREAM)" \
+ --no-info \
+ -o debian/mkosi.1 \
+ ./mkosi
+
+.PHONY: build