From: Martin Mares Date: Wed, 13 Feb 2008 14:16:49 +0000 (+0100) Subject: The `-s' (strip) option passed to `install' can be overriden by the STRIP variable. X-Git-Tag: v3.0.0~1^2~28 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=27fa4e65c2550154e7dd88fcbd024879292bd6fc;p=pciutils.git The `-s' (strip) option passed to `install' can be overriden by the STRIP variable. --- diff --git a/Makefile b/Makefile index f9f6cdd..f37bf80 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ PCILIB=lib/libpci.a PCILIBPC=lib/libpci.pc PCIINC=lib/config.h lib/header.h lib/pci.h lib/types.h lib/sysdep.h PCIINC_INS=lib/config.h lib/header.h lib/pci.h lib/types.h +STRIP=-s -include lib/config.mk @@ -68,7 +69,7 @@ distclean: clean install: all # -c is ignored on Linux, but required on FreeBSD $(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7 - $(INSTALL) -c -m 755 -s lspci setpci $(DESTDIR)$(SBINDIR) + $(INSTALL) -c -m 755 $(STRIP) lspci setpci $(DESTDIR)$(SBINDIR) $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR) $(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR) $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8