From ff481b590b434112398f62169e570f70232a83eb Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 5 Mar 2022 08:20:14 -0500 Subject: [PATCH] Let cmake replace the project version in manual pages Also update to cmake variable rather than autoconf variable --- manual/fix-qdf.1.in | 4 +--- manual/qpdf.1.in | 4 +--- manual/zlib-flate.1.in | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/manual/fix-qdf.1.in b/manual/fix-qdf.1.in index 69a588d7..9cbd6fa4 100644 --- a/manual/fix-qdf.1.in +++ b/manual/fix-qdf.1.in @@ -1,6 +1,4 @@ -\" This file is not processed by autoconf, but rather by build.mk in -\" the manual directory. -.TH FIX-QDF "1" "" "fix-qdf version @PACKAGE_VERSION@" "User Commands" +.TH FIX-QDF "1" "" "fix-qdf version @PROJECT_VERSION@" "User Commands" .SH NAME fix-qdf \- repair PDF files in QDF form after editing .SH SYNOPSIS diff --git a/manual/qpdf.1.in b/manual/qpdf.1.in index fb568a13..1cf3ce34 100644 --- a/manual/qpdf.1.in +++ b/manual/qpdf.1.in @@ -1,6 +1,4 @@ -.\" This file is not processed by autoconf, but rather by build.mk in -.\" the manual directory. -.TH QPDF "1" "" "qpdf version @PACKAGE_VERSION@" "User Commands" +.TH QPDF "1" "" "qpdf version @PROJECT_VERSION@" "User Commands" .SH NAME qpdf \- PDF transformation software .SH SYNOPSIS diff --git a/manual/zlib-flate.1.in b/manual/zlib-flate.1.in index 99cc5cc9..8f3ca386 100644 --- a/manual/zlib-flate.1.in +++ b/manual/zlib-flate.1.in @@ -1,6 +1,4 @@ -\" This file is not processed by autoconf, but rather by build.mk in -\" the manual directory. -.TH ZLIB-FLATE "1" "" "zlib-flate from qpdf version @PACKAGE_VERSION@" "User Commands" +.TH ZLIB-FLATE "1" "" "zlib-flate from qpdf version @PROJECT_VERSION@" "User Commands" .SH NAME zlib-flate \- raw zlib compression program .SH SYNOPSIS