summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-02-14 11:23:40 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-02-11 14:59:18 +0400
commite37e2b0f8d5a5cc31269ee08794047e4bdbe11cf (patch)
treef1285e10c945eb0e2eb394478a086d5101cf9975 /debian/rules
parenta232a950cc15b2c6e3427b59d4f90006a70e04f6 (diff)
downloadlibcuba-e37e2b0f8d5a5cc31269ee08794047e4bdbe11cf.tar.gz
Imported Debian patch 3.0+20111124-2debian/3.0+20111124-2
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d0df38
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+LIB := $(shell dh_listpackages | head -n 1)
+
+%:
+ dh $@
+
+override_dh_compress:
+ dh_compress -X .pdf -X demo
+
+override_dh_strip:
+ dh_strip --dbg-package=$(LIB)-dbg
+
+override_dh_installdocs:
+ dh_installdocs -p $(LIB)-dbg --link-doc=$(LIB)
+ dh_installdocs -p $(LIB)-dev --link-doc=$(LIB)
+ dh_installdocs --remaining-packages
+
+override_dh_auto_build:
+ dh_auto_build
+ mv partview cuba-partview
+
+override_dh_auto_clean:
+ rm -f cuba-partview
+ dh_auto_clean