GNUmakefile | 10 +++++----- diff --git a/GNUmakefile b/GNUmakefile index 06aefd51b35fa5d9d52e830176ffd15afca29312b6442ce9deb6b07f6547e977..27926fd581fcc00f5daeebfdd6a5d993550d9e2ffa97caa6acd2ddcc31443851 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 @@ mkdir -p ${BUILD_TMP}/var/log/goircd 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} -