[pkg-opensc-commit] [libp11] 44/239: another try to get "make dist" documentation generateion right.

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit ef205c1dabc321d815c08f12c6e22799f73ed9ce
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date:   Fri Sep 2 16:54:55 2005 +0000

    another try to get "make dist" documentation generateion right.
---
 Makefile.am     | 9 ++-------
 doc/Makefile.am | 6 +++++-
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7c416d2..b3b1990 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
 # Process this file with automake to create Makefile.in
 
-SUBDIRS = . aclocal doc src rsaref 
+SUBDIRS = . aclocal src rsaref 
+DIST_SUBDIRS = . aclocal doc src rsaref 
 
 EXTRA_DIST = bootstrap depcomp $(shell ls examples/{README,Makefile,*.c})
 
@@ -13,9 +14,3 @@ MAINTAINERCLEANFILES = \
 DEPCLEANFILES = config.log configure
 
 AUTOMAKE_OPTIONS = foreign 1.5
-
-dist: gendoc
-
-gendoc:
-	sh $(srcdir)/doc/export-wiki.sh $(srcdir)/doc
-	sh $(srcdir)/doc/generate-api.sh $(srcdir)/doc
diff --git a/doc/Makefile.am b/doc/Makefile.am
index fd9eb8d..33a77c3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,6 +3,10 @@
 MAINTAINERCLEANFILES = Makefile.in $(HTML)
 
 EXTRA_DIST = README export-wiki.sh export-wiki.xsl \
-	generate-api.sh doxygen.conf.in $(HTML)
+	generate-api.sh doxygen.conf.in $(HTML) index.html
 
 HTML= $(shell ls $(srcdir)/*.html $(srcdir)/*.css $(srcdir)/api/*)
+
+index.html:
+	sh $(srcdir)/export-wiki.sh $(srcdir)
+	sh $(srcdir)/generate-api.sh $(srcdir)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list