[latexila] Create README.in



commit 10ac1208a148b9c59afec4785d31a42b7d82328a
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Tue Jul 24 22:34:57 2012 +0200

    Create README.in
    
    When cmake is run, the README is generated in the source directory.

 .gitignore          |    1 +
 CMakeLists.txt      |    6 ++++++
 README => README.in |    2 +-
 3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+README
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd3ec53..f52d52f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,6 +103,12 @@ configure_file (
 
 add_definitions (-include config.h)
 
+# Generate README
+configure_file (
+	${latexila_SOURCE_DIR}/README.in
+	${latexila_SOURCE_DIR}/README
+)
+
 # Resources
 find_package (gresources REQUIRED)
 
diff --git a/README b/README.in
similarity index 96%
rename from README
rename to README.in
index a3e2e6a..ce028e9 100644
--- a/README
+++ b/README.in
@@ -1,7 +1,7 @@
 General Information
 ===================
 
-This is the version 2.5.2 of LaTeXila.
+This is the version @APP_VERSION@ of LaTeXila.
 LaTeXila is an Integrated LaTeX Environment for the GNOME desktop.
 
 LaTeXila is released under the GNU General Public License (GPL) version 3 or



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]