From 8fdfc3dbb03d8a472b53eac0a4f8c4834625bfff Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 30 Apr 2022 00:34:27 +0200 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(+) diff --git a/debian/Makefile b/debian/Makefile index cd8dc36..c92c305 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 ?= config-links 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