summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveev <stargrave@stargrave.org>2017-01-13 11:53:58 +0300
committerSergey Matveev <stargrave@stargrave.org>2017-01-13 11:53:58 +0300
commit4d9f93b732fedaa03f9450bb98336ae424226c58 (patch)
treef8c2a3146e4205e1f98dc6a5d943f301b1c8a9a5
parentf76a36974a9102965479a528fc420a108fac4bda (diff)
downloadgoircd-4d9f93b732fedaa03f9450bb98336ae424226c58.tar.xz
Parametrize maintainer address
-rw-r--r--GNUmakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 509c4f8..d8024b8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,5 +1,6 @@
VERSION = $(shell git describe --tags)
-BUILD_TMP?=.rpm_tmp
+BUILD_TMP ?= .rpm_tmp
+DEB_MAINTAINER ?= mengzhuo1203@gmail.com
include common.mk
@@ -11,10 +12,9 @@ deb:
mkdir -p ${BUILD_TMP}/etc/systemd/system/
cp goircd ${BUILD_TMP}/usr/local/bin/
cp startup/goircd.service ${BUILD_TMP}/etc/systemd/system/
- fpm -s dir -t deb -n goircd -v ${VERSION}\
- -m mengzhuo1203@gmail.com \
+ fpm -s dir -t deb -n goircd -v ${VERSION} \
+ -m $(DEB_MAINTAINER) \
--deb-compression=bzip2 \
--verbose \
- -d logrotate\
+ -d logrotate \
-C ${BUILD_TMP}
-