summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-29 15:51:51 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-29 15:51:51 +0200
commite632e6d4d31c411953a5331b8b35a2285b1cccb9 (patch)
treebecb05a8ec8f198d9490857995d8246f7003ffa7 /debian/rules
parent2945f6199eb2652bd8092367ae456dc0e49fb76d (diff)
restore debian/*
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules42
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..59df3b7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+
+%:
+ dh $@ --with autotools-dev --with systemd
+
+override_dh_auto_configure:
+ $(CURDIR)/beforeconf.sh
+ dh_auto_configure
+
+override_dh_autoreconf:
+ dh_autoreconf --exclude=mkinstalldirs
+
+override_dh_installchangelogs:
+ dh_installchangelogs ChangeLog
+
+override_dh_installman:
+ dh_installman doc/iseltime.8
+ dh_installman
+
+override_dh_installinit:
+ dh_installinit --name=ipmi_port
+ dh_installinit --name=ipmi_info
+ dh_installinit --name=ipmiutil_asy
+ dh_installinit --name=ipmiutil_evt
+ dh_installinit --name=ipmiutil_wdt
+
+#
+# remove unwanted files from upstream
+#
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f $(CURDIR)/debian/files
+ rm -f $(CURDIR)/debian/dirs
+ rm -f $(CURDIR)/debian/ipmiutil.lintian-overrides
+ rm -f $(CURDIR)/debian/ipmiutil.substvars