using generic autotools description for all subprojects
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@591 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = src m4 patches doc
|
||||
|
||||
doc :
|
||||
$(MAKE) doc -C $(srcdir)/doc
|
||||
|
||||
@@ -1 +1,20 @@
|
||||
EXTRA_DIST = README.rst
|
||||
do_subst = sed \
|
||||
-e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \
|
||||
-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
|
||||
-e 's,[@]builddir[@],$(builddir),g' \
|
||||
-e 's,[@]prefix[@],$(prefix),g' \
|
||||
-e 's,[@]exec_prefix[@],$(exec_prefix),g' \
|
||||
-e 's,[@]libdir[@],$(libdir),g' \
|
||||
-e 's,[@]includedir[@],$(includedir),g' \
|
||||
-e 's,[@]VERSION[@],$(VERSION),g' \
|
||||
-e 's,[@]OPENSC_LIBS[@],$(OPENSC_LIBS),g' \
|
||||
-e 's,[@]top_srcdir[@],$(top_srcdir),g'
|
||||
|
||||
EXTRA_DIST = README.rst autotools.rst.in
|
||||
|
||||
.PHONY: doc
|
||||
doc:
|
||||
$(do_subst) < autotools.rst.in > autotools.rst
|
||||
|
||||
clean-local:
|
||||
rm -f autotools.rst
|
||||
|
||||
@@ -32,13 +32,7 @@ are based on the GadgetFS_ example and on the source code of the OpenSC_ tools.
|
||||
Installation
|
||||
=============
|
||||
|
||||
ccid uses the GNU Build System to compile and install. If you are unfamiliar
|
||||
with it, please have a look at the file :file:`INSTALL`. If you have a look around
|
||||
and can not find it, you are probably working bleeding edge in the repository.
|
||||
Run the following command in the npa directory to get the missing standard
|
||||
auxiliary files::
|
||||
|
||||
autoreconf -i
|
||||
.. include:: autotools.rst
|
||||
|
||||
ccid as the following dependencies:
|
||||
|
||||
|
||||
1
ccid/doc/autotools.rst.in
Symbolic link
1
ccid/doc/autotools.rst.in
Symbolic link
@@ -0,0 +1 @@
|
||||
../../doc/autotools.rst.in
|
||||
Reference in New Issue
Block a user