From e2875dcde11fde30d7c12614f75f4e210f5ad9a9 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 4 Jan 2003 12:49:06 +0000 Subject: [PATCH] Fix paths. --- ChangeLog | 2 ++ Makefile | 4 ++-- lspci.man | 2 +- update-pciids.man | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9674908..662d1c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ to use update-ids) and we don't try to remove /etc/pci.ids (a long time has passed since the last version which used it). + * Makefile: Paths to pci.ids in man pages automatically get the right path. + * Added the update-ids utility. * lib: Removed partially implemented "syscall" access method which will diff --git a/Makefile b/Makefile index 124fa86..9b1b3b7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.52 2003/01/04 12:46:45 mj Exp $ +# $Id: Makefile,v 1.53 2003/01/04 12:49:06 mj Exp $ # Makefile for Linux PCI Utilities # (c) 1998--2003 Martin Mares @@ -50,7 +50,7 @@ update-pciids: update-pciids.sh sed <$< >$@ "s@^DEST=.*@DEST=$(SHAREDIR)/pci.ids@" %.8: %.man - M=`echo $(DATE) | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pciutils-$(VERSION)$(SUFFIX)/" + M=`echo $(DATE) | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pciutils-$(VERSION)$(SUFFIX)/;s#@SHAREDIR@#$(SHAREDIR)#" clean: rm -f `find . -name "*~" -o -name "*.[oa]" -o -name "\#*\#" -o -name TAGS -o -name core` diff --git a/lspci.man b/lspci.man index 6ac75c7..2ae1f45 100644 --- a/lspci.man +++ b/lspci.man @@ -136,7 +136,7 @@ Increase debug level of the library. (All systems) .SH FILES .TP -.B /usr/share/pci.ids +.B @SHAREDIR@/pci.ids A list of all known PCI ID's (vendors, devices, classes and subclasses). .TP .B /proc/bus/pci diff --git a/update-pciids.man b/update-pciids.man index bba92fb..b424ce3 100644 --- a/update-pciids.man +++ b/update-pciids.man @@ -17,7 +17,7 @@ are available, it automatically downloads the compressed version of the list. .SH FILES .TP -.B /usr/share/pci.ids +.B @SHAREDIR@/pci.ids Here we install the new list. .SH SEE ALSO -- 2.39.2