From cc0ae6428d323e99b35f25da9e64d5204d6e53a2 Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 19 Apr 2003 09:13:06 +0000 Subject: [PATCH] Add package version --- include/cdio/Makefile.am | 4 +++- include/cdio/{cdio.h => cdio.h.in} | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) rename include/cdio/{cdio.h => cdio.h.in} (98%) diff --git a/include/cdio/Makefile.am b/include/cdio/Makefile.am index f8d584f4..5e08196d 100644 --- a/include/cdio/Makefile.am +++ b/include/cdio/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.1 2003/04/19 08:29:14 rocky Exp $ +# $Id: Makefile.am,v 1.2 2003/04/19 09:13:06 rocky Exp $ # # Copyright (C) 2003 Rocky Bernstein # @@ -20,6 +20,8 @@ # Things to make the install (public) libcdio headers ######################################################## # +EXTRA_DIST = cdio.h.in + pkgincludedir=$(includedir)/cdio pkginclude_HEADERS = cdio.h logging.h sector.h types.h util.h diff --git a/include/cdio/cdio.h b/include/cdio/cdio.h.in similarity index 98% rename from include/cdio/cdio.h rename to include/cdio/cdio.h.in index 3381fe0e..cca2efac 100644 --- a/include/cdio/cdio.h +++ b/include/cdio/cdio.h.in @@ -1,5 +1,5 @@ /* - $Id: cdio.h,v 1.2 2003/04/19 09:02:30 rocky Exp $ + $Id: cdio.h.in,v 1.1 2003/04/19 09:13:06 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2003 Rocky Bernstein @@ -30,6 +30,9 @@ */ #define CDIO_API_VERSION 1 +/* Version of cdio package. */ +#define CDIO_VERSION @VERSION@ + #ifdef HAVE_SYS_TYPES_H #include #endif