From eea5ee3d6b27e21c67ad7cb7133f17a63c227c10 Mon Sep 17 00:00:00 2001
From: Marcel Loose <loose@astron.nl>
Date: Tue, 26 Apr 2011 12:34:09 +0000
Subject: [PATCH] Bug 1626: Added Python framework and recipes directories to
 the build/install.

---
 CEP/Pipeline/framework/CMakeLists.txt         |  5 +++
 .../framework/lofarpipe/CMakeLists.txt        | 36 +++++++++++++++++++
 CEP/Pipeline/mac/CMakeLists.txt               |  2 +-
 CEP/Pipeline/recipes/CMakeLists.txt           |  5 +++
 CEP/Pipeline/recipes/sip/CMakeLists.txt       | 30 ++++++++++++++++
 5 files changed, 77 insertions(+), 1 deletion(-)
 create mode 100644 CEP/Pipeline/framework/CMakeLists.txt
 create mode 100644 CEP/Pipeline/framework/lofarpipe/CMakeLists.txt
 create mode 100644 CEP/Pipeline/recipes/CMakeLists.txt
 create mode 100644 CEP/Pipeline/recipes/sip/CMakeLists.txt

diff --git a/CEP/Pipeline/framework/CMakeLists.txt b/CEP/Pipeline/framework/CMakeLists.txt
new file mode 100644
index 00000000000..b628f2e5821
--- /dev/null
+++ b/CEP/Pipeline/framework/CMakeLists.txt
@@ -0,0 +1,5 @@
+# $Id$
+
+lofar_package(Pipeline-Framework 0.1)
+
+add_subdirectory(lofarpipe)
diff --git a/CEP/Pipeline/framework/lofarpipe/CMakeLists.txt b/CEP/Pipeline/framework/lofarpipe/CMakeLists.txt
new file mode 100644
index 00000000000..a4503399a26
--- /dev/null
+++ b/CEP/Pipeline/framework/lofarpipe/CMakeLists.txt
@@ -0,0 +1,36 @@
+# $Id$
+
+include(PythonInstall)
+
+python_install(
+  __init__.py
+  cuisine/__init__.py
+  cuisine/cook.py
+  cuisine/files.py
+  cuisine/ingredient.py
+  cuisine/job_parser.py
+  cuisine/message.py
+  cuisine/parset.py
+  cuisine/pipeline.py
+  cuisine/pipeline_manager_config.py
+  cuisine/WSRTrecipe.py
+  support/__init__.py
+  support/baserecipe.py
+  support/clusterdesc.py
+  support/clusterhandler.py
+  support/clusterlogger.py
+  support/control.py
+  support/group_data.py
+  support/ipython.py
+  support/jobserver.py
+  support/lofarexceptions.py
+  support/lofaringredient.py
+  support/lofarnode.py
+  support/lofarrecipe.py
+  support/mac.py
+  support/parset.py
+  support/pipelinelogging.py
+  support/remotecommand.py
+  support/stateful.py
+  support/utilities.py
+  DESTINATION lofarpipe)
diff --git a/CEP/Pipeline/mac/CMakeLists.txt b/CEP/Pipeline/mac/CMakeLists.txt
index b7127b196be..201b2ec0db8 100644
--- a/CEP/Pipeline/mac/CMakeLists.txt
+++ b/CEP/Pipeline/mac/CMakeLists.txt
@@ -1,6 +1,6 @@
 # $Id$
 
-lofar_package(Pipeline-MAC 1.0 DEPENDS APLCommon MACIO)
+lofar_package(Pipeline-MAC 0.1 DEPENDS APLCommon MACIO)
 
 lofar_find_package(Boost REQUIRED COMPONENTS python)
 lofar_find_package(Python REQUIRED)
diff --git a/CEP/Pipeline/recipes/CMakeLists.txt b/CEP/Pipeline/recipes/CMakeLists.txt
new file mode 100644
index 00000000000..baa1a584c23
--- /dev/null
+++ b/CEP/Pipeline/recipes/CMakeLists.txt
@@ -0,0 +1,5 @@
+# $Id$
+
+lofar_package(Pipeline-Recipes 0.1)
+
+add_subdirectory(sip)
diff --git a/CEP/Pipeline/recipes/sip/CMakeLists.txt b/CEP/Pipeline/recipes/sip/CMakeLists.txt
new file mode 100644
index 00000000000..6d906cdf800
--- /dev/null
+++ b/CEP/Pipeline/recipes/sip/CMakeLists.txt
@@ -0,0 +1,30 @@
+# $Id$
+
+include(PythonInstall)
+
+python_install(
+  master/bbs.py
+  master/cimager.py
+  master/count_timesteps.py
+  master/datamapper.py
+  master/flag_baseline.py
+  master/make_flaggable.py
+  master/new_dppp.py
+  master/new_vdsmaker.py
+  master/parmdb.py
+  master/rficonsole.py
+  master/skymodel.py
+  master/sourcedb.py
+  master/storagemapper.py
+  master/vdsreader.py
+  nodes/bbs.py
+  nodes/cimager.py
+  nodes/count_timesteps.py
+  nodes/dppp.py
+  nodes/flag_baseline.py
+  nodes/make_flaggable.py
+  nodes/parmdb.py
+  nodes/rficonsole.py
+  nodes/sourcedb.py
+  nodes/vdsmaker.py
+  DESTINATION lofarpipe/recipes)
\ No newline at end of file
-- 
GitLab