commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r7905 - gnuradio/trunk


From: gdt
Subject: [Commit-gnuradio] r7905 - gnuradio/trunk
Date: Fri, 29 Feb 2008 12:42:11 -0700 (MST)

Author: gdt
Date: 2008-02-29 12:42:11 -0700 (Fri, 29 Feb 2008)
New Revision: 7905

Modified:
   gnuradio/trunk/README.components
Log:
Change prefix to /usr/local/gnuradio, believed acceptable on *BSD and
Linux, based on discussion with jcorgan.

Explain purpose of script better, and increase warnings at beginning.


Modified: gnuradio/trunk/README.components
===================================================================
--- gnuradio/trunk/README.components    2008-02-29 19:26:49 UTC (rev 7904)
+++ gnuradio/trunk/README.components    2008-02-29 19:42:11 UTC (rev 7905)
@@ -4,25 +4,39 @@
 
 # Copyright 2008 Free Software Foundation.
 #
+# DO NOT RUN THIS SCRIPT UNTIL YOU UNDERSTAND IT!!!  IT WILL REMOVE
+# FILES ON YOUR SYSTEM.
+#
+# Read the script thoroughly before running it; it will *remove*
+# /usr/local/gnuradio and repopulate it.
+#
 # This script provides a way to build GNU Radio modules individually,
 # and both serves as an example of using the component build system
-# and provides a way to test that build system.  This script is
-# intended to be broadly portable; be careful when modifying not to
-# cause problems on systems that place dependencies in other than /usr
+# and provides a way to test the build system.  When run, it will
+# build and install each GNU Radio module in turn, using the
+# just-installed modules as prerequisites.  It places the output of
+# each build in a separate file BUILD.NNN.options, so that one can do
+# 'tail -f BUILD.*' to see which components were successfully built.
+
+# This script is intended to be broadly portable; be careful when
+# modifying not to cause problems on systems that place dependencies
+# in other than /usr
 #
 # Besides GNU Radio dependencies, this program requires sudo, with a
 # timer long enough to build each module (or no password requirement).
 #
-# Read the script thoroughly before running it; it will *remove*
-# /usr/gnuradio and repopulate it.
 
 set -x
 
 # Do not use /opt, because many systems do not have /opt and that
-# risks running out of space in /.  Probably this needs OS-specific
-# overrides.
-PREFIX=/usr/gnuradio
+# risks running out of space in /.  /usr/local/gnuradio is believed to
+# be reasonable on all of *BSD and GNU/Linux.  Probably this needs
+# OS-specific overrides.
+PREFIX=/usr/local/gnuradio
 
+echo "ABOUT TO COMPLETELY REMOVE $PREFIX in 10 SECONDS!"
+sleep 10
+
 echo -n "README.components START "; date
 
 # This file provides an example of how to build GNU Radio under pkgsrc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]