+Mon Jan 24 20:04:11 2000 Andreas Jaeger <aj@suse.de>
+
+ * lib/i386-ports.c: Include <asm/io.h> only on systems without
+ glibc.
+
+Mon Jan 24 11:24:43 2000 Martin Mares <mj@albireo.ucw.cz>
+
+ * Makefile: Modified to work with the Linux FHS brain-damaged idea
+ of putting man pages to /usr/share/man. Now we choose either /usr/man
+ or /usr/share/man depending on which one exists.
+
Sun Jan 23 10:52:34 2000 Martin Mares <mj@albireo.ucw.cz>
* pci.ids: Synced with Linux 2.3.40.
-# $Id: Makefile,v 1.29 2000/01/23 05:57:04 mj Exp $
+# $Id: Makefile,v 1.30 2000/01/24 15:37:13 mj Exp $
# Makefile for Linux PCI Utilities
-# (c) 1998--1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
+# (c) 1998--2000 Martin Mares <mj@suse.cz>
OPT=-O2 -fomit-frame-pointer
#OPT=-O2 -g
ROOT=/
PREFIX=/usr
endif
+MANDIR=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
export
install: all
# -c is ignored on Linux, but required on FreeBSD
+ install -d -m 755 $(ROOT)/sbin $(PREFIX)/share $(MANDIR)/man8
install -c -m 755 -s lspci setpci $(ROOT)/sbin
install -c -m 644 pci.ids $(PREFIX)/share
- install -c -m 644 lspci.8 setpci.8 $(PREFIX)/man/man8
+ install -c -m 644 lspci.8 setpci.8 $(MANDIR)/man8
# Remove relics from old versions
rm -f $(ROOT)/etc/pci.ids