summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--httpd.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/httpd.spec b/httpd.spec
index 07dbd4d..cbf2ea3 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -166,7 +166,8 @@ touch -r %{SOURCE15} httpd-${mpm}.service
ymdate=`date +'%b %Y'`
sed "s/@PROGNAME@/httpd.${mpm}/g;s/@DATE@/${ymdate}/g;s/@VERSION@/%{version}/g;s/@MPM@/${mpm}/g;" \
< $RPM_SOURCE_DIR/httpd.mpm.xml > httpd.${mpm}.8.xml
-xmlto -o $PWD man httpd.${mpm}.8.xml
+xmlto man httpd.${mpm}.8.xml
+test httpd.${mpm}.8 || mv man/man8/httpd.${mpm}.8 .
# Build the daemon
mkdir $mpm; pushd $mpm