From 4d9f93b732fedaa03f9450bb98336ae424226c58 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 13 Jan 2017 11:53:58 +0300 Subject: [PATCH] Parametrize maintainer address --- GNUmakefile | 10 +++++----- 1 file 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} - -- 2.44.0