Parametrize maintainer address
This commit is contained in:
parent
f76a36974a
commit
4d9f93b732
10
GNUmakefile
10
GNUmakefile
@ -1,5 +1,6 @@
|
|||||||
VERSION = $(shell git describe --tags)
|
VERSION = $(shell git describe --tags)
|
||||||
BUILD_TMP?=.rpm_tmp
|
BUILD_TMP ?= .rpm_tmp
|
||||||
|
DEB_MAINTAINER ?= mengzhuo1203@gmail.com
|
||||||
|
|
||||||
include common.mk
|
include common.mk
|
||||||
|
|
||||||
@ -11,10 +12,9 @@ deb:
|
|||||||
mkdir -p ${BUILD_TMP}/etc/systemd/system/
|
mkdir -p ${BUILD_TMP}/etc/systemd/system/
|
||||||
cp goircd ${BUILD_TMP}/usr/local/bin/
|
cp goircd ${BUILD_TMP}/usr/local/bin/
|
||||||
cp startup/goircd.service ${BUILD_TMP}/etc/systemd/system/
|
cp startup/goircd.service ${BUILD_TMP}/etc/systemd/system/
|
||||||
fpm -s dir -t deb -n goircd -v ${VERSION}\
|
fpm -s dir -t deb -n goircd -v ${VERSION} \
|
||||||
-m mengzhuo1203@gmail.com \
|
-m $(DEB_MAINTAINER) \
|
||||||
--deb-compression=bzip2 \
|
--deb-compression=bzip2 \
|
||||||
--verbose \
|
--verbose \
|
||||||
-d logrotate\
|
-d logrotate \
|
||||||
-C ${BUILD_TMP}
|
-C ${BUILD_TMP}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user