[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, cmake, updated. f672202ff2ec279e5c3260e8
From: |
Juergen Kahrs |
Subject: |
[gawk-diffs] [SCM] gawk branch, cmake, updated. f672202ff2ec279e5c3260e8810a4ccc213a5876 |
Date: |
Fri, 08 Feb 2013 20:53:32 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, cmake has been updated
via f672202ff2ec279e5c3260e8810a4ccc213a5876 (commit)
from fa30c4248c55cbce828bd9f31f5d45ca842464b3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=f672202ff2ec279e5c3260e8810a4ccc213a5876
commit f672202ff2ec279e5c3260e8810a4ccc213a5876
Author: Juergen Kahrs <address@hidden>
Date: Fri Feb 8 21:53:18 2013 +0100
New target 'doc' generates .dvi .ps and .pdf files. This is a lazy
approach, if the target files already exist they will be overwritten.
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index a18bfff..7baf5ad 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -24,3 +24,18 @@
## process this file with CMake to produce Makefile
+add_custom_target(doc)
+add_custom_command(
+ TARGET doc
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND texi2dvi --clean gawkinet.texi gawk.texi
+ COMMAND groff -man gawk.1 > gawk.1.ps
+ COMMAND groff -man igawk.1 > igawk.1.ps
+ COMMAND ps2pdf gawk.1.ps gawk.1.pdf
+ COMMAND ps2pdf igawk.1.ps igawk.1.pdf
+ COMMAND dvips -o gawk.ps gawk.dvi
+ COMMAND dvips -o gawkinet.ps gawkinet.dvi
+ COMMAND ps2pdf gawk.1.ps gawk.1.pdf
+ COMMAND ps2pdf gawkinet.ps gawkinet.pdf
+)
+
-----------------------------------------------------------------------
Summary of changes:
doc/CMakeLists.txt | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, cmake, updated. f672202ff2ec279e5c3260e8810a4ccc213a5876,
Juergen Kahrs <=