X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=GNUmakefile;h=d8024b8ea4a038a47cf1420b4c9911aa835c2000;hb=ff2275248b4047d542173e5c94507e930516ca9f;hp=2447b914bed3b14f3a224ada0810d8796984057b;hpb=7afceda9cb6352809a0a3123c6aae1234329088b;p=goircd.git diff --git a/GNUmakefile b/GNUmakefile index 2447b91..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 @@ -7,14 +8,13 @@ include common.mk deb: rm -rf ${BUILD_TMP} mkdir -p ${BUILD_TMP}/usr/local/bin/ - mkdir -p ${BUILD_TMP}/var/lib/goircd/history + 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} -