From: Martin Mares Date: Fri, 26 Dec 2003 20:13:26 +0000 (+0000) Subject: Use := instead of = X-Git-Tag: v3.0.0~158 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b0f1a03b72551e0e3bae5f71e9746d85258c2e62;p=pciutils.git 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 --- 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