Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] Re: (PR#11594) make src-check problem
Home

[Freeciv-Dev] Re: (PR#11594) make src-check problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11594) make src-check problem
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 25 Mar 2005 05:18:36 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11594 >

On Sat, Dec 18, 2004 at 02:45:36PM -0800, Marko Lindqvist wrote:
> 
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=11594 >
> 
> 
>   Reading from and writing to same file like done in tests/Makefile.am:
> 
>   cat check-output | sed "s\\$(top_srcdir)/\\\\" > check-output
> 
>   results in empty file (in this system at least, yet I'm sure it used 
> to work when this was last modified)

I have applied the attached patch.

        Raimar

-- 
 email: i-freeciv-lists@xxxxxxxxxxxxx
 "On the eigth day, God started debugging"

Index: tests/Makefile.am
===================================================================
RCS file: /home/freeciv/CVS/freeciv/tests/Makefile.am,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile.am
--- tests/Makefile.am   24 Aug 2004 23:17:28 -0000      1.6
+++ tests/Makefile.am   25 Mar 2005 13:16:05 -0000
@@ -4,11 +4,12 @@
 # the results of the checks.  It might be better to actually fail the make run
 # if the check fails.
 src-check:
-       rm -f check-output
-       $(srcdir)/header_guard.sh $(top_srcdir) >> check-output
-       $(srcdir)/va_list.sh $(top_srcdir) >> check-output
-       $(srcdir)/copyright.sh $(top_srcdir) >> check-output
-       cat check-output | sed "s\\$(top_srcdir)/\\\\" > check-output
+       rm -f check-output check-output_
+       $(srcdir)/header_guard.sh $(top_srcdir) >> check-output_
+       $(srcdir)/va_list.sh $(top_srcdir) >> check-output_
+       $(srcdir)/copyright.sh $(top_srcdir) >> check-output_
+       cat check-output_ | sed "s\\$(top_srcdir)/\\\\" > check-output
+       rm -f check-output_
 
 .PHONY: src-check
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#11594) make src-check problem, Raimar Falke <=