summaryrefslogtreecommitdiff
path: root/tools/make-man-rules.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-man-rules.py')
-rw-r--r--tools/make-man-rules.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/make-man-rules.py b/tools/make-man-rules.py
index 5e61917d60..0b73ab04f7 100644
--- a/tools/make-man-rules.py
+++ b/tools/make-man-rules.py
@@ -24,16 +24,16 @@ import os.path
from xml_helper import *
SECTION = '''\
-MANPAGES += \\
+sdman.MANPAGES += \\
{manpages}
-MANPAGES_ALIAS += \\
+sdman.MANPAGES_ALIAS += \\
{aliases}
{rules}
{htmlrules}
'''
CONDITIONAL = '''\
-if {conditional}
+ifneq ($({conditional}),)
''' \
+ SECTION + \
'''\
@@ -54,7 +54,7 @@ HEADER = '''\
HTML_ALIAS_RULE = '''\
{}.html: {}.html
- $(html-alias)
+ $(sdman.html-alias)
'''
FOOTER = '''\