Tidy up the "rm" flags in the build system
[ghc-hetmet.git] / rules / docbook.mk
index 080874d..cec0f2c 100644 (file)
@@ -33,7 +33,7 @@ html_$1 : $1/$2/index.html
 
 ifneq "$$(BINDIST)" "YES"
 $1/$2/index.html: $$($1_DOCBOOK_SOURCES)
-       "$$(RM)" $$(RM_OPTS) -r $$(dir $$@)
+       "$$(RM)" $$(RM_OPTS_REC) $$(dir $$@)
        "$$(XSLTPROC)" --stringparam base.dir $$(dir $$@) \
                       --stringparam use.id.as.filename 1 \
                       --stringparam html.stylesheet fptools.css \