summaryrefslogtreecommitdiff
path: root/mktrayicon/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'mktrayicon/debian/rules')
-rwxr-xr-xmktrayicon/debian/rules25
1 files changed, 25 insertions, 0 deletions
diff --git a/mktrayicon/debian/rules b/mktrayicon/debian/rules
new file mode 100755
index 0000000..03d51b7
--- /dev/null
+++ b/mktrayicon/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export MD2MAN=go-md2man
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ dh_auto_build
+ $$MD2MAN < README.md > debian/mktrayicon.1
+
+#override_dh_auto_install:
+# dh_auto_install -- prefix=/usr
+
+#override_dh_install:
+# dh_install --list-missing -X.pyc -X.pyo
+
+override_dh_auto_clean:
+ dh_auto_clean || :
+ rm debian/mktrayicon.1 || :
bgstack15