Complete.Org: Mailing Lists: Archives: freeciv-dev: November 1998:
[Freeciv-Dev] patch for building in another tree than the source tree
Home

[Freeciv-Dev] patch for building in another tree than the source tree

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] patch for building in another tree than the source tree
From: Mirar <mirar@xxxxxxxxx>
Date: 08 Nov 1998 16:10:19 +0100

I couldn't build freeciv in another tree than the sourcetree,
so i fixed that problem.

Here is a diff. Is this the correct channels?

/Mirar

mistel% cvs diff -u client/Makefile.am 
Index: client/Makefile.am
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- Makefile.am 1998/10/03 07:07:43     1.6
+++ Makefile.am 1998/11/08 15:07:40
@@ -1,15 +1,15 @@
 ## Process this file with automake to produce Makefile.in
 
 bin_PROGRAMS = civclient
-INCLUDES = -I $(srcdir)/../common
+INCLUDES = -I $(srcdir)/../common -I .
 
 BUILT_SOURCES = Freeciv.h
 
-Freeciv.h: ../data/Freeciv
+Freeciv.h: $(srcdir)/../data/Freeciv
        echo '/***********************************************/' > Freeciv.h
        echo '/* DO NOT EDIT THIS FILE, EDIT ../data/Freeciv */' >> Freeciv.h
        echo '/***********************************************/' >> Freeciv.h
-       ./ad2c ../data/Freeciv >> Freeciv.h
+       $(srcdir)/ad2c $(srcdir)/../data/Freeciv >> Freeciv.h
 
 civclient_DEPENDENCIES = ad2c cityicon.ico freeciv.ico ../common/libcivcommon.a
 civclient_LDADD        = ../common/libcivcommon.a



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