From da7067cbc8502a37e6f3ee2f064a9e80c4227e77 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 13 Jun 2010 09:24:34 +0000 Subject: [PATCH] include the pdf manual in the `dist' tar-ball --- ChangeLog | 7 +++++++ Makefile.am | 6 +++--- configure.in | 1 + manual/Makefile.am | 11 +++++++++++ 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 manual/Makefile.am diff --git a/ChangeLog b/ChangeLog index 54436bc8a..e4980de5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-06-13 Robert Larice + * Makefile.am, configure.in, manual/Makefile.am: + make dist, shall compile manual.pdf from the lyx manual + and include it in the 'dist' tar ball + It is required to have checked out the CVS ng-spice-manuals module + side by side with the CVS ng-spice-rework module + 2010-06-13 Holger Vogt * NEWS updated diff --git a/Makefile.am b/Makefile.am index 45cec6cf8..ee5874dfa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,13 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = @XGRAPHDIR@ src man tests -DIST_SUBDIRS = @XGRAPHDIR@ src man tests +SUBDIRS = @XGRAPHDIR@ src man tests manual +DIST_SUBDIRS = @XGRAPHDIR@ src man tests manual EXTRA_DIST = FAQ autogen.sh Stuarts_Poly_Notes \ ANALYSES BUGS AUTHORS ChangeLog \ DEVICES NEWS README README.tcl \ README.adms contrib \ - examples visualc manual @NOTXGRAPH@ + examples visualc @NOTXGRAPH@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ config.h.in config.sub configure install-sh \ diff --git a/configure.in b/configure.in index cc60e004d..636d820f0 100644 --- a/configure.in +++ b/configure.in @@ -1022,6 +1022,7 @@ dnl Output Files dnl ------------ AC_CONFIG_FILES([Makefile + manual/Makefile man/Makefile man/man1/Makefile src/Makefile diff --git a/manual/Makefile.am b/manual/Makefile.am new file mode 100644 index 000000000..f9638b14c --- /dev/null +++ b/manual/Makefile.am @@ -0,0 +1,11 @@ +## Process this file with automake to produce Makefile.in + +dist_doc_DATA = manual.pdf + +DISTCLEANFILES = manual.pdf + +MAINTAINERCLEANFILES = $(DISTCLEANFILES) Makefile.in + +manual.pdf : + make -C $(top_srcdir)/../ng-spice-manuals manual.pdf + cp $(top_srcdir)/../ng-spice-manuals/manual.pdf $@