]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Make author in debian changelog a variable.
authorStephen Bates <stephen.bates@pmcs.com>
Mon, 14 Dec 2015 02:47:24 +0000 (19:47 -0700)
committerStephen Bates <stephen.bates@pmcs.com>
Mon, 14 Dec 2015 02:47:24 +0000 (19:47 -0700)
Makefile

index ecf3eb5b6007091fce309aaa516228f36aef9be8..2f5953b8aaad7ee6cb672915bcfb498fe28fde55 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,8 @@ RPMBUILD = rpmbuild
 TAR = tar
 RM = rm -f
 
+AUTHOR=Keith Busch <keith.busch@intel.com>
+
 ifeq ($(LIBUDEV),0)
        LDFLAGS += -ludev
        CFLAGS  += -DLIBUDEV_EXISTS
@@ -102,7 +104,7 @@ deb: dist-orig
        # determine the package version.
        printf '%s\n\n  * Auto-release.\n\n %s\n' \
           "nvme-cli ($(NVME_VERSION)-1~`lsb_release -sc`) `lsb_release -sc`; urgency=low" \
-          "-- Keith Busch <keith.busch@intel.com>  `git log -1 --format=%cD`" \
+          "-- $(AUTHOR)  `git log -1 --format=%cD`" \
          > debian/changelog
        dpkg-buildpackage -uc -us -sa  # from dpkg-dev package