summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 27e0c08..82292a7 100644
--- a/Makefile
+++ b/Makefile
@@ -160,8 +160,17 @@ uninstall: all
rm -f $(DESTDIR)$(IDSDIR)/$(PCI_IDS)
rm -f $(DESTDIR)$(MANDIR)/man8/lspci.8 $(DESTDIR)$(MANDIR)/man8/setpci.8 $(DESTDIR)$(MANDIR)/man8/update-pciids.8
rm -f $(DESTDIR)$(MANDIR)/man7/pcilib.7
+ rm -f $(DESTDIR)$(MANDIR)/man5/pci.ids.5
+ rm -f $(DESTDIR)$(LIBDIR)/$(PCILIB)
+ rm -f $(DESTDIR)$(PKGCFDIR)/$(PCILIBPC)
+ rm -f $(addprefix $(DESTDIR)$(INCDIR)/pci/,$(notdir $(PCIINC_INS)))
ifeq ($(SHARED),yes)
- rm -f $(DESTDIR)$(LIBDIR)/$(PCILIB) $(DESTDIR)$(LIBDIR)/$(LIBNAME).so$(ABI_VERSION)
+ rm -f $(DESTDIR)$(LIBDIR)/$(LIBNAME).$(LIBEXT)
+ifeq ($(LIBEXT),dylib)
+ rm -f $(DESTDIR)$(LIBDIR)/$(LIBNAME)$(ABI_VERSION).$(LIBEXT)
+else
+ rm -f $(DESTDIR)$(LIBDIR)/$(LIBNAME).$(LIBEXT)$(ABI_VERSION)
+endif
endif
pci.ids.gz: pci.ids