From 4d2bbb4aa8336df22a6ee29862d3c85a49aba874 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 15 Apr 2022 12:08:26 +0300 Subject: debian/Makefile: export NAME and EMAIL I'm trying to build packages locally on my Arch, and I don't want to add these variables to my .bashrc. --- debian/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/Makefile b/debian/Makefile index 5f66ce4..82222af 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -20,16 +20,23 @@ ifeq ($$(origin $(1)),command line) endif endef +NAME ?= Egor Tensin +EMAIL ?= Egor.Tensin@gmail.com PPA_OWNER ?= egor-tensin PPA_NAME ?= linux-status GPG_KEY ?= 3B3EF1235420917E0DB0723991D679FB92B036CB DIST ?= bionic +$(eval $(call noexpand,NAME)) +$(eval $(call noexpand,EMAIL)) $(eval $(call noexpand,PPA_OWNER)) $(eval $(call noexpand,PPA_NAME)) $(eval $(call noexpand,GPG_KEY)) $(eval $(call noexpand,DIST)) +export NAME +export EMAIL + this_dir := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) root := $(this_dir)/.. build_area := $(this_dir)/build-area -- cgit v1.2.3