summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rwxr-xr-xrules14
1 files changed, 14 insertions, 0 deletions
diff --git a/rules b/rules
new file mode 100755
index 0000000..5b56667
--- /dev/null
+++ b/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with elpa
+
+# info page is not generated without this override
+override_dh_elpa:
+ dh_elpa
+# support the nodoc build profile
+ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ echo -e "\nnodoc build profile enabled, therefore not building docs.\n"
+else
+ makeinfo --no-split muttrc-mode.texi -o debian/tmp/muttrc-mode.info
+endif