]> mj.ucw.cz Git - pciutils.git/commitdiff
Fix paths.
authorMartin Mares <mj@ucw.cz>
Sat, 4 Jan 2003 12:49:06 +0000 (12:49 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:10:57 +0000 (14:10 +0200)
ChangeLog
Makefile
lspci.man
update-pciids.man

index 967490853d3c39d4737e1221e4dcf553b55cf09c..662d1c983cb5132210f0b2dba8465a472ef31750 100644 (file)
--- 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
index 124fa863ab85b4de2ea892989d1fdc7be0c9cdcc..9b1b3b7dd1d40298045fff192d8061d6fadb4167 100644 (file)
--- 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 <mj@ucw.cz>
 
@@ -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`
index 6ac75c7dd837cf483a6573bbf9c1a1205fdaeead..2ae1f4595fdd6f9ac2889385b66c23bb6807cbbc 100644 (file)
--- 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
index bba92fbe8acf5e88c3745151189a14e383bf43b1..b424ce3e9939b7f51d1f2f4d3ac01fce1beecc94 100644 (file)
@@ -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