From d0180bfc2487c80656fc0e316389ceccd9057ca6 Mon Sep 17 00:00:00 2001
From: juergen <juergen@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Tue, 6 Jul 2010 10:04:55 +0000
Subject: [PATCH] generating README.html automatically

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2525 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 deployment/CMakeLists.txt         |  7 ++++-
 deployment/README.html.in         | 51 +++++++++++++++++++++++++++++++
 deployment/win/exclude_file_types |  3 +-
 3 files changed, 59 insertions(+), 2 deletions(-)
 create mode 100644 deployment/README.html.in

diff --git a/deployment/CMakeLists.txt b/deployment/CMakeLists.txt
index eb3285eb9..2431eab1c 100644
--- a/deployment/CMakeLists.txt
+++ b/deployment/CMakeLists.txt
@@ -1 +1,6 @@
-add_subdirectory(win)
\ No newline at end of file
+get_ost_rev()
+include(Deployment)
+set(SUBST_DIC OST_VERSION="${OST_VERSION}")
+add_custom_target(deploymnt ALL)
+script(NAME README.html INPUT README.html.in SUBSTITUTE ${SUBST_DIC} TARGET deploymnt)
+add_subdirectory(win)
diff --git a/deployment/README.html.in b/deployment/README.html.in
new file mode 100644
index 000000000..864ff6e75
--- /dev/null
+++ b/deployment/README.html.in
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+<title>Protein Model Portal - PSI SGKB</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="robots" content="noarchive" />
+<meta http-equiv="Content-Style-Type" content="text/css" />
+<link rel="icon" href="share/favicon.ico" type="image/x-icon" />
+<link rel="author" title="The OpenStructure Team" href="?pid=contact" />
+</head>
+<body>
+<p style="color:gray">
+
+-----------------------------README----------------------------------------<br/>
+ This file is part of the OpenStructure project <www.openstructure.org><br/>
+<br/>
+ Copyright (C) 2008-2010 by the OpenStructure authors<br/>
+<br/>
+ This library is free software; you can redistribute it and/or modify it under<br/>
+ the terms of the GNU Lesser General Public License as published by the Free<br/>
+ Software Foundation; either version 3.0 of the License, or (at your option)<br/>
+ any later version.<br/>
+ This library is distributed in the hope that it will be useful, but WITHOUT<br/>
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS<br/>
+ FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more<br/>
+ details.<br/>
+<br/>
+ You should have received a copy of the GNU Lesser General Public License<br/>
+ along with this library; if not, write to the Free Software Foundation, Inc.,<br/>
+ 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA<br/>
+------------------------------------------------------------------------------<br/>
+</p>
+<br/>
+Thank you for using OpenStructure!<br/>
+<br/>
+This is the current Version of OpenStructure.<br/>
+Version: @OST_VERSION@<br/>
+<br/>
+This is a major release containig many bugfixes and improvements considering rendering, GUI and further <br/>
+functionality.<br/>
+<br/>
+For feedback or suggestions please contact us at <a href="http://www.openstructure.org">www.openstructure.org!</a><br/>
+<br/>
+<br/>
+The OpenStructure Authors<br/>
+
+</body>
diff --git a/deployment/win/exclude_file_types b/deployment/win/exclude_file_types
index edc2877fe..2ef73e4f5 100644
--- a/deployment/win/exclude_file_types
+++ b/deployment/win/exclude_file_types
@@ -3,4 +3,5 @@
 .pyc
 .idb
 dokk
-harmony
\ No newline at end of file
+harmony
+README
-- 
GitLab