From 1aff37ff77dcce5f7387eea7e43aee9066282bc2 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 29 May 2016 20:24:09 +0000 Subject: Adjust Makefile so it honors passed variables better. Add a small sed to e2fsprogs that allows test successes to be properly identified. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11079 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bb797199b..57de0ae74 100644 --- a/Makefile +++ b/Makefile @@ -23,15 +23,15 @@ ifneq ($(REV), sysv) endif ifeq ($(REV), sysv) - BASEDIR = ~/lfs-book - PDF_OUTPUT = LFS-BOOK.pdf - NOCHUNKS_OUTPUT = LFS-BOOK.html - DUMPDIR = ~/lfs-commands + BASEDIR ?= ~/lfs-book + PDF_OUTPUT ?= LFS-BOOK.pdf + NOCHUNKS_OUTPUT ?= LFS-BOOK.html + DUMPDIR ?= ~/lfs-commands else - BASEDIR = ~/lfs-systemd - PDF_OUTPUT = LFS-SYSD-BOOK.pdf - NOCHUNKS_OUTPUT = LFS-SYSD-BOOK.html - DUMPDIR = ~/lfs-sysd-commands + BASEDIR ?= ~/lfs-systemd + PDF_OUTPUT ?= LFS-SYSD-BOOK.pdf + NOCHUNKS_OUTPUT ?= LFS-SYSD-BOOK.html + DUMPDIR ?= ~/lfs-sysd-commands endif book: validate profile-html -- cgit v1.2.3-54-g00ecf