Author: cazfi
Date: Sat Oct 24 22:32:19 2015
New Revision: 30199

URL: http://svn.gna.org/viewcvs/freeciv?rev=30199&view=rev
Log:
Install rulesets as part of ruledit installation even if server is not 
installed.

See patch #6469

Modified:
    trunk/data/Makefile.am

Modified: trunk/data/Makefile.am
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/Makefile.am?rev=30199&r1=30198&r2=30199&view=diff
==============================================================================
--- trunk/data/Makefile.am      (original)
+++ trunk/data/Makefile.am      Sat Oct 24 22:32:19 2015
@@ -30,8 +30,7 @@
 CLIENT_FILES =
 endif
 
-if SERVER
-SERVER_FILES = \
+SRV_RE_FILES = \
        civ1.serv \
        civ2.serv \
        classic.serv \
@@ -41,11 +40,17 @@
        alien.serv \
        civ2civ3.serv
 
+if SERVER
+SERVER_FILES = $(SRV_RE_FILES)
 SERVER_CONF = database.lua
-
+else
+if RULEDIT
+SERVER_FILES = $(SRV_RE_FILES)
+SERVER_CONF =
 else
 SERVER_FILES =
 SERVER_CONF =
+endif
 endif
 
 pkgsysconf_DATA = $(SERVER_CONF)
@@ -84,10 +89,15 @@
 CLIENTDATADIRS = 
 endif
 
+SRV_RE_DATADIRS = default classic civ1 civ2 experimental multiplayer alien 
civ2civ3 nation
 if SERVER
-SERVERDATADIRS = default classic civ1 civ2 experimental multiplayer alien 
civ2civ3 scenarios nation
+SERVERDATADIRS = $(SRV_RE_DATADIRS) scenarios
 else
-SERVERDATADIRS = 
+if RULEDIT
+SERVERDATADIRS = $(SRV_RE_DATADIRS)
+else
+SERVERDATADIRS =
+endif
 endif
 
 if CLIENT


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to