[Surfraw-devel] [Patch 2/4] General build fixes.

James Rowe jnrowe at ukfsn.org
Sat Apr 29 06:18:26 UTC 2006


Building in a subdir works.

  With this patch it is now possible to build surfraw in a subdirectory,
allowing the use of the automake distribution smoke tests.

Index: surfraw/elvi/Makefile.am
===================================================================
--- surfraw/elvi/Makefile.am	{cset 5c3df361-f1b6-4a76-ae82-ff3a60a1beb7}
+++ surfraw/elvi/Makefile.am	{local clone}
@@ -79,5 +79,5 @@ EXTRA_DIST	= $(elvi_SCRIPTS)
 CLEANFILES = surfraw_elvi.list
 
 surfraw_elvi.list: $(elvi_SCRIPTS)
-	cat $(elvi_SCRIPTS)|egrep '^#.*elvis:'|sed 's/^.*elvis: *//'|sort > $@
+	cat $(elvi_SCRIPTS:%=$(srcdir)/%)|egrep '^#.*elvis:'|sed 's/^.*elvis: *//'|sort > $@
 




More information about the Surfraw-devel mailing list