From 0820a4ccc435453d63f241837968f2d9e42416a2 Mon Sep 17 00:00:00 2001 From: aet Date: Wed, 8 May 2002 06:50:45 +0000 Subject: [PATCH] pkcs15-profile.5 $(pkgdatadir) fix git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@597 c6295689-39f2-0310-b995-f0e70906c6a9 --- configure.in | 4 ++++ docs/Makefile.am | 4 ++-- docs/{pkcs15-profile.5 => pkcs15-profile.5.in} | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) rename docs/{pkcs15-profile.5 => pkcs15-profile.5.in} (93%) diff --git a/configure.in b/configure.in index eebb0384..f8b17a28 100644 --- a/configure.in +++ b/configure.in @@ -1028,10 +1028,14 @@ OPENSC_CFLAGS="" AC_SUBST(OPENSC_LIBS) AC_SUBST(OPENSC_CFLAGS) +pkgdata=`eval echo ${datadir}/${PACKAGE}` ; pkgdata=`eval echo ${pkgdata}` +AC_SUBST(pkgdata) + AC_OUTPUT([ Makefile aclocal/Makefile docs/Makefile +docs/pkcs15-profile.5 etc/Makefile src/Makefile src/common/Makefile diff --git a/docs/Makefile.am b/docs/Makefile.am index 4acbc450..e3755ef2 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,8 +1,8 @@ # Process this file with automake to create Makefile.in -MAINTAINERCLEANFILES = Makefile.in +MAINTAINERCLEANFILES = Makefile.in pkcs15-profile.5 man_MANS = pkcs15-crypt.1 pkcs15-init.1 \ pkcs15-profile.5 \ pkcs15.7 -EXTRA_DIST = $(man_MANS) pkcs-15v1_1.asn +EXTRA_DIST = $(man_MANS) pkcs15-profile.5.in pkcs-15v1_1.asn diff --git a/docs/pkcs15-profile.5 b/docs/pkcs15-profile.5.in similarity index 93% rename from docs/pkcs15-profile.5 rename to docs/pkcs15-profile.5.in index 2f821405..d9b7bb2d 100644 --- a/docs/pkcs15-profile.5 +++ b/docs/pkcs15-profile.5.in @@ -23,8 +23,8 @@ required during card intialization, such as location of PIN files, key references etc. .PP Profiles currently reside in -.\" XXX FIXME this should really be set to $(pkgdatadir) -.B /usr/share/opensc . +.PP +.B @pkgdata@ .SH SYNTAX This section should contain information about the profile syntax. Will add this soonishly.