summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8db746f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with python2
+
+override_dh_auto_configure:
+ pod2man --section=1 --release=$(VERSION) --center "" doc/rapid-photo-downloader.pod > rapid-photo-downloader.1
+
+override_dh_auto_install:
+ python setup.py install --root=debian/rapid-photo-downloader --install-layout=deb --install-lib=/usr/share/rapid-photo-downloader --install-scripts=/usr/share/rapid-photo-downloader
+
+override_dh_auto_clean:
+ -rm rapid-photo-downloader.1
+ -rm -rf build/
+ dh_auto_clean
+