sane-project-website/old-archive/2000-11/0274.html

110 wiersze
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Suggested adding target install-strip for sane</TITLE>
<META NAME="Author" CONTENT="Kevin Dalley (kevind@rahul.net)">
<META NAME="Subject" CONTENT="Suggested adding target install-strip for sane">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Suggested adding target install-strip for sane</H1>
<!-- received="Sun Nov 19 22:34:15 2000" -->
<!-- isoreceived="20001120063415" -->
<!-- sent="19 Nov 2000 22:48:05 -0800" -->
<!-- isosent="20001120064805" -->
<!-- name="Kevin Dalley" -->
<!-- email="kevind@rahul.net" -->
<!-- subject="Suggested adding target install-strip for sane" -->
<!-- id="l4hf53dtqy.fsf@laminaria.alacosta.org" -->
<STRONG>From:</STRONG> Kevin Dalley (<A HREF="mailto:kevind@rahul.net?Subject=Re:%20Suggested%20adding%20target%20install-strip%20for%20sane&In-Reply-To=&lt;l4hf53dtqy.fsf@laminaria.alacosta.org&gt;"><EM>kevind@rahul.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Nov 19 2000 - 22:48:05 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0275.html">Boris Krivulin: "Can't scan the second time"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0273.html">cbagwell@sprynet.com: "Re: Re: [snapscan] More USB updates"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0275.html">Boris Krivulin: "Can't scan the second time"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0275.html">Boris Krivulin: "Can't scan the second time"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0280.html">Oliver Rauch: "Re: Suggested adding target install-strip for sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#274">[ date ]</A>
<A HREF="index.html#274">[ thread ]</A>
<A HREF="subject.html#274">[ subject ]</A>
<A HREF="author.html#274">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I suggest that a new target be added to the Makefiles for
<BR>
sane-frontends (and sane-backends). I find the target useful since
<BR>
the standard for the Debian distribution is to install binaries
<BR>
stripped. This target is convenient.
<BR>
<P><P>Here's a description of the install-strip target from the GNU
<BR>
standards document:
<BR>
<P>`install-strip'
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like `install', but strip the executable files while installing
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;them. In many cases, the definition of this target can be very
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;simple:
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;install-strip:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;install
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Normally we do not recommend stripping an executable unless you
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are sure the program has no bugs. However, it can be reasonable
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to install a stripped executable for actual execution while saving
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the unstripped executable elsewhere in case there is a bug.
<BR>
<P><P><P><PRE>
--
Kevin Dalley
<A HREF="mailto:kevind@rahul.net?Subject=Re:%20Suggested%20adding%20target%20install-strip%20for%20sane&In-Reply-To=&lt;l4hf53dtqy.fsf@laminaria.alacosta.org&gt;">kevind@rahul.net</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Suggested%20adding%20target%20install-strip%20for%20sane&In-Reply-To=&lt;l4hf53dtqy.fsf@laminaria.alacosta.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0275.html">Boris Krivulin: "Can't scan the second time"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0273.html">cbagwell@sprynet.com: "Re: Re: [snapscan] More USB updates"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0275.html">Boris Krivulin: "Can't scan the second time"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0275.html">Boris Krivulin: "Can't scan the second time"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0280.html">Oliver Rauch: "Re: Suggested adding target install-strip for sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#274">[ date ]</A>
<A HREF="index.html#274">[ thread ]</A>
<A HREF="subject.html#274">[ subject ]</A>
<A HREF="author.html#274">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sun Nov 19 2000 - 22:39:15 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>