summaryrefslogtreecommitdiffstats
path: root/server/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'server/Makefile.am')
-rw-r--r--server/Makefile.am19
1 files changed, 15 insertions, 4 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
index e7392b3..bf56ac4 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -1,6 +1,6 @@
# Makefile.am - autotools configuration file
#
-# Copyright 2009 David Sommerseth <davids@redhat.com>
+# Copyright 2009-2011 David Sommerseth <davids@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,21 +26,32 @@ SUBDIRS = parser
dist_doc_DATA = parser/README.parser \
sql/delta-1.0_1.1.sql \
sql/delta-1.1_1.2.sql \
+ sql/delta-1.2_1.3.sql \
+ sql/delta-1.3_1.4.sql \
sql/rteval-$(SQLSCHEMAVER).sql
apache-rteval.conf:
- [ -n $(XMLRPCROOT) ] && $(srcdir)/gen_config.sh $(XMLRPCROOT)/API1
+if ENAB_MODPYTHON
+ [ -n $(XMLRPCROOT) ] && $(srcdir)/gen_config.sh apache-rteval.conf $(XMLRPCROOT)/API1
+else
+ [ -n $(XMLRPCROOT) ] && $(srcdir)/gen_config.sh apache-rteval-wsgi.conf $(XMLRPCROOT)/API1
+endif
clean-local:
-rm -f apache-rteval.conf *~
dist-hook:
- cp $(srcdir)/gen_config.sh $(srcdir)/apache-rteval.conf.tpl $(distdir)/
+ cp $(srcdir)/gen_config.sh $(srcdir)/apache-rteval.conf.tpl $(srcdir)/apache-rteval-wsgi.conf.tpl $(distdir)/
-rm -f $(distdir)/apache-rteval.conf
if ENAB_XMLRPC
xmlrpcdir = $(XMLRPCROOT)/API1
BUILT_SOURCES = apache-rteval.conf
dist_doc_DATA += README.xmlrpc apache-rteval.conf
- dist_xmlrpc_DATA = rteval_xmlrpc.py xmlrpc_API1.py rtevaldb.py database.py
+ dist_xmlrpc_DATA = xmlrpc_API1.py rtevaldb.py database.py
+if ENAB_MODPYTHON
+ dist_xmlrpc_DATA += rteval_xmlrpc.py
+else
+ dist_xmlrpc_DATA += rteval_xmlrpc.wsgi
+endif
endif