summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Elliott <elliott@hpe.com>2021-03-03 14:12:25 -0600
committerMartin Mares <mj@ucw.cz>2021-12-26 22:17:10 +0100
commitfe4074e525ec31b7d03a9fa963fb18f346a1fd7e (patch)
tree319f5be71b96c663957c264f820d0c0820c72eba
parent66a0d9bf9b9c84008f04d63225f205626f748b35 (diff)
downloadpciutils-fe4074e525ec31b7d03a9fa963fb18f346a1fd7e.tar.gz
Man pages: clarify pci.ids location
Include both the path and filename of pci.ids in the pci.ids man page and the update-pciids man page
-rw-r--r--Makefile2
-rw-r--r--pci.ids.man5
-rw-r--r--update-pciids.man2
3 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 82292a7..17a8630 100644
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ example.o: example.c $(PCIINC)
$(CC) $(LDFLAGS) $(TARGET_ARCH) $^ $(LDLIBS) -o $@
%.8 %.7 %.5: %.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)/;s#@IDSDIR@#$(IDSDIR)#"
+ 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)/;s#@IDSDIR@#$(IDSDIR)#;s#@PCI_IDS@#$(PCI_IDS)#"
ctags:
rm -f tags
diff --git a/pci.ids.man b/pci.ids.man
index b8385d0..62abe51 100644
--- a/pci.ids.man
+++ b/pci.ids.man
@@ -83,6 +83,11 @@ or more spaces, and the name of the subsystem.
To ensure extensibility of the format, lines starting with an unrecognized letter
followed by a single space are ignored and so are all following TAB-indented lines.
+.SH FILES
+.TP
+.B @IDSDIR@/@PCI_IDS@
+Location of the list.
+
.SH SEE ALSO
.BR lspci (8),
.BR update-pciids (8),
diff --git a/update-pciids.man b/update-pciids.man
index 3a002d8..34d31d4 100644
--- a/update-pciids.man
+++ b/update-pciids.man
@@ -22,7 +22,7 @@ Be quiet and do not report anything except errors.
.SH FILES
.TP
-.B @IDSDIR@/pci.ids
+.B @IDSDIR@/@PCI_IDS@
Here we install the new list.
.SH SEE ALSO