summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..16b500f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with python2
+
+liveusb-creator.1: liveusb-creator.1.markdown
+ pandoc --read=markdown --write=man --output=liveusb-creator.1 --standalone $<
+
+override_dh_auto_build: liveusb-creator.1
+ python setup.py build
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f liveusb-creator.1
+
+override_dh_install:
+ python setup.py install --root=debian/liveusb-creator/ --install-layout=deb
+ dh_install