aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/.gitignore1
-rw-r--r--web/version.hxx.in12
-rw-r--r--web/xhtml.hxx2
3 files changed, 15 insertions, 0 deletions
diff --git a/web/.gitignore b/web/.gitignore
new file mode 100644
index 0000000..426db9e
--- /dev/null
+++ b/web/.gitignore
@@ -0,0 +1 @@
+version.hxx
diff --git a/web/version.hxx.in b/web/version.hxx.in
new file mode 100644
index 0000000..90bbaa6
--- /dev/null
+++ b/web/version.hxx.in
@@ -0,0 +1,12 @@
+// file : web/version.hxx.in -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef WEB_VERSION_HXX_IN
+#define WEB_VERSION_HXX_IN
+
+#include <libstudxml/version.hxx>
+
+$libstudxml.check(LIBSTUDXML_VERSION, LIBSTUDXML_SNAPSHOT)$
+
+#endif // WEB_VERSION_HXX_IN
diff --git a/web/xhtml.hxx b/web/xhtml.hxx
index 878c255..b9ccff3 100644
--- a/web/xhtml.hxx
+++ b/web/xhtml.hxx
@@ -7,6 +7,8 @@
#include <libstudxml/serializer.hxx>
+#include <web/version.hxx>
+
namespace web
{
// "Canonical" XHTML5 vocabulary.