- more autotool magic in documentation files
- including substituted documentation files with distributed files git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@597 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1,5 +1,2 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = src m4 patches doc
|
||||
|
||||
doc :
|
||||
$(MAKE) doc -C $(srcdir)/doc
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.63])
|
||||
AC_INIT([ccid-emulator], [0.6], [http://sourceforge.net/projects/vsmartcard/support])
|
||||
AC_INIT([CCID Emulator], [0.6], [http://sourceforge.net/projects/vsmartcard/support], [ccid-emulator], [http://sourceforge.net/projects/vsmartcard/])
|
||||
AC_CONFIG_SRCDIR([src/ccid.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
do_subst = sed \
|
||||
-e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \
|
||||
-e 's,[@]PACKAGE_TARNAME[@],$(PACKAGE_TARNAME),g' \
|
||||
-e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
|
||||
-e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \
|
||||
-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
|
||||
-e 's,[@]builddir[@],$(builddir),g' \
|
||||
-e 's,[@]prefix[@],$(prefix),g' \
|
||||
@@ -10,12 +13,9 @@ do_subst = sed \
|
||||
-e 's,[@]OPENSC_LIBS[@],$(OPENSC_LIBS),g' \
|
||||
-e 's,[@]top_srcdir[@],$(top_srcdir),g'
|
||||
|
||||
EXTRA_DIST = README.rst autotools.rst.in questions.rst.in
|
||||
EXTRA_DIST = README.rst autotools.rst autotools.rst.in questions.rst questions.rst.in
|
||||
|
||||
.PHONY: doc
|
||||
doc:
|
||||
$(do_subst) < autotools.rst.in > autotools.rst
|
||||
$(do_subst) < questions.rst.in > questions.rst
|
||||
|
||||
clean-local:
|
||||
rm -f autotools.rst questions.rst
|
||||
|
||||
Reference in New Issue
Block a user