From 510da7cd74be5cae4994f13d2c0c51001f75d815 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 6 Apr 2022 10:18:30 +0200 Subject: debian/Makefile: consistent prelude --- debian/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'debian') diff --git a/debian/Makefile b/debian/Makefile index a898ba3..cd8dc36 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -4,11 +4,7 @@ unexport MAKEFLAGS .DELETE_ON_ERROR: .SUFFIXES: SHELL := bash -# Careful: nounset breaks things, as per usual. -.SHELLFLAGS := -e -o pipefail -c - -.PHONY: DO -DO: +.SHELLFLAGS := -eu -o pipefail -c escape = $(subst ','\'',$(1)) @@ -38,6 +34,9 @@ this_dir := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) root := $(this_dir)/.. build_area := $(this_dir)/build-area +.PHONY: DO +DO: + .PHONY: deps deps: apt-get update -- cgit v1.2.3