Define install-strip in Makefile
authorIan Lynagh <igloo@earth.li>
Sat, 24 Nov 2007 20:50:37 +0000 (20:50 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 24 Nov 2007 20:50:37 +0000 (20:50 +0000)
Makefile

index 519899e..c4c09f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,9 @@ else
 INSTALL_STAGE =
 endif
 
 INSTALL_STAGE =
 endif
 
+install-strip:
+       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
+
 # Same as default rule, but we pass $(INSTALL_STAGE) to $(MAKE) too
 install :: check-packages
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
 # Same as default rule, but we pass $(INSTALL_STAGE) to $(MAKE) too
 install :: check-packages
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \