From b0f1a03b72551e0e3bae5f71e9746d85258c2e62 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 26 Dec 2003 20:13:26 +0000 Subject: [PATCH] Use := instead of = Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell command every time $(MANDIR) is referenced. git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-7 --- ChangeLog | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 22ecb22..bced15f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-12-26 Martin Mares + * Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell + command every time $(MANDIR) is referenced. + * lspci.c (main): The error message for `lspci -s' incorrectly mentioned a `-f' switch. Reported by Steve Finney . diff --git a/Makefile b/Makefile index 4fc7c41..3b6cd25 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ DATE=2003-12-26 PREFIX=/usr/local SBINDIR=$(PREFIX)/sbin SHAREDIR=$(PREFIX)/share -MANDIR=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi) +MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi) INSTALL=install DIRINSTALL=install -d PCILIB=libpci.a -- 2.39.2