[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-95-g7c30b08

Ian Beckwith ianb at erislabs.net
Tue Mar 2 03:50:26 UTC 2010


The following commit has been merged in the master branch:
commit c216f19c6822869f59c57e3e38878e2febfacf02
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Tue Mar 2 02:03:07 2010 +0000

    HACKING, README, test/README: document autotools and test suite changes.

diff --git a/ChangeLog b/ChangeLog
index fe9caab..669862d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,8 @@
 	* remove leading 'sr ' from command lines for following tests:
 	    acronym aur bing cliki gcache genportage google javasun l1sp
 	    lsm mathworld mininova piratebay youtube
+	* HACKING, README, test/README: document autotools and test
+	  suite changes.
 
 2010-02-22  Ivy Foster  <joyfulgirl at archlinux.us>
 
diff --git a/HACKING b/HACKING
index fd5332d..c397b21 100644
--- a/HACKING
+++ b/HACKING
@@ -129,11 +129,12 @@ Or... How to Eat The CHEESE
 
     2: copy elviname to the elvi directory
 
-    3: add elviname to the elvi_SCRIPTS list in elvi/Makefile.am
+    3: make the elvi executable (chmod 755 elvipath) so the test
+       suite can run it directly.
 
-    4: add a link for the manpage in links.IN
+    4: add elviname to the elvi_SCRIPTS list in elvi/Makefile.am
 
-    5: run aclocal (1.10+), automake (1.10+) and autoconf (2.50+)
+    5: add a link for the manpage in links.IN
 
     6: update the elvi list in README
 
@@ -175,7 +176,7 @@ Or... How to Eat The CHEESE
 
     10: rm -rf .git
 
-    11: ./configure && make distcheck
+    11: ./prebuild && ./configure && make distcheck
 
     12: # test surfraw-version.tar.gz
 
diff --git a/README b/README
index 551bae3..cc2fe09 100644
--- a/README
+++ b/README
@@ -118,7 +118,10 @@ Bookmarks
 Installation
 
   Surfraw is installed with the standard ./configure; make; make install
-  procedure. See INSTALL for more details. 
+  procedure. See INSTALL for more details. If you obtained surfraw
+  direct from the git repository rather than a release tarball, run
+  ./prebuild to generate the autotools build files *before* running
+  ./configure.
 
   Note that the opensearch elvis depends on the perl libraries
   WWW::OpenSearch, HTML::Parser and LWP (libwww-perl). If you don't
diff --git a/test/README b/test/README
index c84e112..c041568 100644
--- a/test/README
+++ b/test/README
@@ -35,8 +35,9 @@ Writing tests
 Tests should be called elviname.test and be placed in the test/ directory
 
 Test files consist of pairs of lines. The first line is the command to
-run, and the second line is a perl regular expression (which can be
-just plain text) to match against the resulting web page.
+run (starting with the elvi name, don't use a leading 'sr' or
+'surfraw', and the second line is a perl regular expression (which can
+be just plain text) to match against the resulting web page.
 
 Multiple tests can be implemented per elvi, feel free to submit more!
 

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list