• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Reference Documentation: PDF Publishing with GNU Troff


コミットメタ情報

リビジョン1a0c70b44d8a2df2831f898e8104af69819c2d7f (tree)
日時2024-04-11 19:44:05
作者Keith Marshall <keith@user...>
コミッターKeith Marshall

ログメッセージ

A minor pdfroff.1 manpage correction.

* pdfroff.1.man (TH): s/groff/groff-pdfmark/
(AUTHORS): Refer to author's "OSDN web-site", in preference
to "OSDN site".

* Makefile.in (MANPAGE_DATE): New user overridable variable,
specifying the publication date for all generated manual pages;
define it, by shell substitution, to reflect current date.
(manpage_update_script): Use it, in substitution for...
(MDATE): ...this field value.

変更サマリ

差分

diff -r 0b10455ed3fb -r 1a0c70b44d8a Makefile.in
--- a/Makefile.in Thu Apr 11 09:31:42 2024 +0100
+++ b/Makefile.in Thu Apr 11 11:44:05 2024 +0100
@@ -5,7 +5,7 @@
55 # Makefile template for independent Groff Pdfmark.PDF publication
66 #
77 # Written by Keith Marshall <keith.d.marshall@ntlworld.com>
8-# Copyright (C) 2021-2023, Keith Marshall
8+# Copyright (C) 2021-2024, Keith Marshall
99 #
1010 # ---------------------------------------------------------------------------
1111 #
@@ -251,12 +251,19 @@
251251 datarootdir := @datarootdir@
252252 pdfdocdir := @docdir@
253253
254+# The script will normally insert the current date into each
255+# generated manpage, but we provide the user with a mechanism
256+# to override this default behaviour, by specifying another
257+# date via a MANPAGE_DATE='d Month YYYY' argument.
258+#
259+MANPAGE_DATE := $(shell date +"%e %B %Y")
260+
254261 # The requisite sed script itself, is specified as:
255262 #
256263 override manpage_update_script = \
257264 -e 's!@VERSION@!$(PACKAGE_VERSION)!' \
258- -e 's!@MDATE@!$(shell date +"%e %B %Y")!' \
259265 -e 's!@PDFDOCDIR@!${pdfdocdir}!' \
266+ -e 's!@MDATE@!$(MANPAGE_DATE)!' \
260267 -e 's!@MAN\([1-9]\)EXT@!\1!g'
261268
262269 # This script is run, on specific demand only, to regenerate
@@ -280,7 +287,7 @@
280287 # require a patch to an-old.tmac, because, as shipped, it does
281288 # not behave as described in groff_man(7), w.r.t. "-rFT".
282289 #
283-MAN2PDF_FLAGS := -dpaper=a4 -P-pa4 -rFT=0-0.75i -rCS=1 -rCT=1
290+MAN2PDF_FLAGS := -dpaper=a4 -P-pa4 -dMF=R -rFT=0-0.75i -rCS=1 -rCT=1
284291
285292 # It is convenient to use pdfroff, to generate PDF from manpage
286293 # source; when doing so, no reference dictionary is needed, but
diff -r 0b10455ed3fb -r 1a0c70b44d8a pdfroff.1.man
--- a/pdfroff.1.man Thu Apr 11 09:31:42 2024 +0100
+++ b/pdfroff.1.man Thu Apr 11 11:44:05 2024 +0100
@@ -1,4 +1,4 @@
1-.TH pdfroff @MAN1EXT@ "@MDATE@" "groff @VERSION@"
1+.TH pdfroff @MAN1EXT@ "@MDATE@" "groff-pdfmark @VERSION@"
22 .SH Name
33 pdfroff \- generate Portable Document Format files using
44 .I groff
@@ -8,7 +8,7 @@
88 .\" Legal Terms
99 .\" ====================================================================
1010 .\"
11-.\" Copyright (C) 2005-2020, 2023, Free Software Foundation, Inc.
11+.\" Copyright (C) 2005-2020, 2023, 2024, Free Software Foundation, Inc.
1212 .\"
1313 .\" This file is part of groff, the GNU roff type-setting system.
1414 .\"
@@ -1012,7 +1012,7 @@
10121012 \:wiki/\:\%FrontPage
10131013 his
10141014 .I \%groff-pdfmark
1015-OSDN site
1015+OSDN \%web-site
10161016 .UE .
10171017 .
10181018 The version distributed with