summaryrefslogtreecommitdiff
path: root/include/xine
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-19 01:57:19 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-19 01:57:19 +0100
commit19d6e2179bcf9b2747ddf61eda6a55861de242b5 (patch)
treea772a836267c2635c4f98d7af2dff63a0b6cefd5 /include/xine
parent530ba72be38719c9857afecea9e77fe1c5df3137 (diff)
downloadxine-lib-19d6e2179bcf9b2747ddf61eda6a55861de242b5.tar.gz
xine-lib-19d6e2179bcf9b2747ddf61eda6a55861de242b5.tar.bz2
Don't change the whole xine.h.in into xine.h, just split out the version information in xine/version.h.
--HG-- rename : include/xine.h.in => include/xine.h
Diffstat (limited to 'include/xine')
-rw-r--r--include/xine/Makefile.am4
-rw-r--r--include/xine/version.h.in25
2 files changed, 29 insertions, 0 deletions
diff --git a/include/xine/Makefile.am b/include/xine/Makefile.am
new file mode 100644
index 000000000..f143d83c4
--- /dev/null
+++ b/include/xine/Makefile.am
@@ -0,0 +1,4 @@
+EXTRA_DIST = version.h.in
+
+xineincludedir = $(includedir)/xine
+xineinclude_HEADERS = version.h
diff --git a/include/xine/version.h.in b/include/xine/version.h.in
new file mode 100644
index 000000000..75072708d
--- /dev/null
+++ b/include/xine/version.h.in
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2007 the xine project
+ *
+ * This file is part of xine, a free video player.
+ *
+ * xine is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * xine is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
+ */
+
+/* static info - which libxine release this header came from */
+#define XINE_MAJOR_VERSION @XINE_MAJOR@
+#define XINE_MINOR_VERSION @XINE_MINOR@
+#define XINE_SUB_VERSION @XINE_SUB@
+#define XINE_VERSION "@VERSION@"