]> mj.ucw.cz Git - pciutils.git/commitdiff
Use := instead of =
authorMartin Mares <mj@ucw.cz>
Fri, 26 Dec 2003 20:13:26 +0000 (20:13 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:18:09 +0000 (14:18 +0200)
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
Makefile

index 22ecb22299014f0942aee87d113577d300ea05a5..bced15fae1137cd345657f5093698c68d264be35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-12-26  Martin Mares  <mj@ucw.cz>
 
+       * 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 <Steve.Finney@SpirentCom.COM>.
 
index 4fc7c4107947e931950362e9f0dfbc4791b6fa6e..3b6cd2567cf19a01f9f1ea9d1d8295dd5bb0ed0d 100644 (file)
--- 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