summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am6
-rw-r--r--doc/makepkg.8.in2
-rw-r--r--doc/pacman.8.in2
3 files changed, 2 insertions, 8 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5e9e159f..86d6c631 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -4,18 +4,12 @@ if HAS_MAN2HTML
makepkg.8:
sed -e 's,#PACMAN_VERSION#,$(PACMAN_VERSION),g' < makepkg.8.in > makepkg.8
man2html makepkg.8 > html/makepkg.8.html
-else
-makepkg.8:
- sed -e 's,#PACMAN_VERSION#,$(PACMAN_VERSION),g' < makepkg.8.in > makepkg.8
endif
if HAS_MAN2HTML
pacman.8:
sed -e 's,#PACMAN_VERSION#,$(PACMAN_VERSION),g' < pacman.8.in > pacman.8
man2html pacman.8 > html/pacman.8.html
-else
-pacman.8:
- sed -e 's,#PACMAN_VERSION#,$(PACMAN_VERSION),g' < pacman.8.in > pacman.8
endif
clean:
diff --git a/doc/makepkg.8.in b/doc/makepkg.8.in
index 569f3596..6d733a96 100644
--- a/doc/makepkg.8.in
+++ b/doc/makepkg.8.in
@@ -1,4 +1,4 @@
-.TH makepkg 8 "August 3, 2004" "makepkg #VERSION#" ""
+.TH makepkg 8 "August 3, 2004" "@PACKAGE_VERSION@" ""
.SH NAME
makepkg \- package build utility
.SH SYNOPSIS
diff --git a/doc/pacman.8.in b/doc/pacman.8.in
index d185615a..46c53bf9 100644
--- a/doc/pacman.8.in
+++ b/doc/pacman.8.in
@@ -1,4 +1,4 @@
-.TH pacman 8 "September 17, 2004" "pacman #VERSION#" ""
+.TH pacman 8 "September 17, 2004" "pacman @PACKAGE_VERSION@" ""
.SH NAME
pacman \- package manager utility
.SH SYNOPSIS