diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-25 14:24:33 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-25 14:24:33 +0000 |
commit | 14c641fc12687352471d2869caf1bf5cfc07175b (patch) | |
tree | a5ba96a4fe2c37b9f5ac620ab05e230d8b96cef1 | |
parent | 430efa0c135593351e9f1c80cc11bcabc6690ed3 (diff) |
add <kpathsea/version.h> header file
git-svn-id: svn://tug.org/texlive/trunk@13960 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/Makefile.am | 3 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/Makefile.in | 3 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/version.c | 9 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/version.h | 28 |
5 files changed, 43 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 95a5e0a4a99..4c99cb3dd4e 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,9 @@ +2009-06-25 Peter Breitenlohner <peb@mppmu.mpg.de> + + * version.h (new): header file for definitions in version.c. + * version.c: #include <kpathsea/version.h>. + * Makefile.am: add the new header. + 2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de> * concatn.[ch], tex-file.[ch]: use ANSI C function declarations diff --git a/Build/source/texk/kpathsea/Makefile.am b/Build/source/texk/kpathsea/Makefile.am index 331db788168..d80fff94c13 100644 --- a/Build/source/texk/kpathsea/Makefile.am +++ b/Build/source/texk/kpathsea/Makefile.am @@ -148,6 +148,7 @@ kpseinclude_HEADERS = \ truncate.h \ types.h \ variable.h \ + version.h \ xopendir.h \ xstat.h @@ -212,7 +213,7 @@ stamp-paths: texmf.cnf rm -f paths.tmp date >$@ -kpathsea.h: paths.h +kpathsea.h: Makefile paths.h rm -f $@ echo '/* This is a generated file */' >$@ echo '/* collecting all kpathsea headers. */' >>$@ diff --git a/Build/source/texk/kpathsea/Makefile.in b/Build/source/texk/kpathsea/Makefile.in index 7ed021875e4..68064e7d5b2 100644 --- a/Build/source/texk/kpathsea/Makefile.in +++ b/Build/source/texk/kpathsea/Makefile.in @@ -424,6 +424,7 @@ kpseinclude_HEADERS = \ truncate.h \ types.h \ variable.h \ + version.h \ xopendir.h \ xstat.h @@ -1669,7 +1670,7 @@ stamp-paths: texmf.cnf rm -f paths.tmp date >$@ -kpathsea.h: paths.h +kpathsea.h: Makefile paths.h rm -f $@ echo '/* This is a generated file */' >$@ echo '/* collecting all kpathsea headers. */' >>$@ diff --git a/Build/source/texk/kpathsea/version.c b/Build/source/texk/kpathsea/version.c index a5c2ddbf492..6182b1d3f14 100644 --- a/Build/source/texk/kpathsea/version.c +++ b/Build/source/texk/kpathsea/version.c @@ -16,14 +16,15 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "c-auto.h" -#include <kpathsea/c-proto.h> +#include <kpathsea/config.h> -KPSEDLL char *kpathsea_version_string = (char *) KPSEVERSION; +#include <kpathsea/version.h> + +char *kpathsea_version_string = (char *) KPSEVERSION; /* If you are redistributing a modified version of the original distribution, please change this address here, among many other places. Thanks. */ -KPSEDLL char *kpathsea_bug_address = (char *) +char *kpathsea_bug_address = (char *) "Email bug reports to tex-k@tug.org.\n"; diff --git a/Build/source/texk/kpathsea/version.h b/Build/source/texk/kpathsea/version.h new file mode 100644 index 00000000000..0ae078ee939 --- /dev/null +++ b/Build/source/texk/kpathsea/version.h @@ -0,0 +1,28 @@ +/* version.h: version number for libkpathsea. + + Copyright 2009 Peter Breitenlohner. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +#ifndef KPATHSEA_VERSION_H +#define KPATHSEA_VERSION_H + +#include <kpathsea/c-proto.h> +#include <kpathsea/types.h> + +extern KPSEDLL char *kpathsea_version_string; + +extern KPSEDLL char *kpathsea_bug_address; + +#endif /* not KPATHSEA_VERSION_H */ |