aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html')
-rw-r--r--cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html b/cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html
new file mode 100644
index 00000000..9b799f85
--- /dev/null
+++ b/cvs/cvsweb.cgi/code/tool/build/buildquiet?rev=1.2&content-type=text/x-cvsweb-markup/index.html
@@ -0,0 +1,52 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD><style> A { color:black }</style>
+<!-- hennerik CVSweb $Revision: 1.93 $ -->
+<TITLE>code/tool/build/buildquiet - view - 1.2</TITLE></HEAD>
+<BODY BGCOLOR="#eeeeee">
+<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="buildquiet"><IMG SRC="http://www.nevrax.org/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="buildquiet">buildquiet</A>
+ CVS log</b> <IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="http://www.nevrax.org/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to <a href="/cvs/cvsweb.cgi/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/tool/">tool</a> / <a href="/cvs/cvsweb.cgi/code/tool/build/">build</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/tool/">tool</a> / <a href="/cvs/cvsweb.cgi/code/tool/build/">build</a> / <a href="/cvs/cvsweb.cgi/code/tool/build/buildquiet">buildquiet</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/tool/build/buildquiet?rev=1.2" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/tool/build/buildquiet?rev=1.2','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
+Revision <B>1.2</B>, <i>Tue May 7 10:05:49 2002 UTC</i> (8 weeks ago) by <i>valignat</i>
+<BR>Branch: <b>MAIN</b>
+<BR>CVS Tags: <b>HEAD</b><BR>Changes since <b>1.1: +3 -3
+ lines</b><PRE>
+Renamed the 'silent' option in 'qiuet', it makes more sense.
+</PRE>
+</td></tr></table><HR noshade><PRE>#!/usr/bin/perl -n
+
+###########################################################################
+# $Id: buildquiet,v 1.2 2002/05/07 10:05:49 valignat Exp $
+###########################################################################
+###########################################################################
+###########################################################################
+# BUILDQUIET:
+#
+# &nbsp; &nbsp; This tool is aimed to &quot;cleanup&quot; the 'make' command output to only
+# &nbsp; &nbsp; print the compiled file name instead of the compilation 'command'.
+#
+# &nbsp; &nbsp; 'buildquiet' is used by the 'build' script.
+#
+###########################################################################
+
+if ( ! ( /^((Making)|(\/bin\/sh)|(.*rm)|(mkdir)|(mv)|(ar)|(ranlib)|(echo)|(\(cd)|(\(?ln))\s/ ))
+{
+ &nbsp; &nbsp;# Replace 'make[2]: ' line
+ &nbsp; &nbsp;s/^make\[\d\]\:\s(.*)$/$1/;
+
+ &nbsp; &nbsp;# Replace the library creation line by only the library file name
+ &nbsp; &nbsp;s/^(ccache\s+)?(((gcc)|([cg]\+\+))\s-shared)\s.*\.libs\/([\w\.]+)$/ &nbsp; &nbsp;$6/;
+
+ &nbsp; &nbsp;# Replace the file compilation line by only the compiled file name
+ &nbsp; &nbsp;s/^(ccache\s+)?(gcc|([cg]\+\+)).*\s.+\/([\w\.]+.cpp).*$/ &nbsp; &nbsp;$4/;
+ &nbsp; &nbsp;s/^(ccache\s+)?(gcc|([cg]\+\+)).*\s.+-o\s([\w\.]+).*$/ &nbsp; &nbsp;$4/;
+
+ &nbsp; &nbsp;# Replace the install line
+ &nbsp; &nbsp;s/\s*\/usr\/bin\/install\s.*\s+(\.libs\/)?([^-][\.\w\-]+)\s+.*$/ &nbsp; &nbsp;Installing $2/;
+
+ &nbsp; &nbsp;if ( ! /^Nothing/ ) {
+ &nbsp; &nbsp; &nbsp; &nbsp;print;
+ &nbsp; &nbsp;}
+}
+
+# End of file
+
+</PRE> \ No newline at end of file