PARAMPROF=.$(PARAMBASE).profiled
PARAMSTRIP=.$(PARAMBASE).stripped
PARAMDBKNS=.$(PARAMBASE).dbkns
+PARAMXMLID=.$(PARAMBASE).xmlid
FIXPARAMNS=$(DOCBOOK_SVN)/xsl/tools/xsl/build/fix-params-ns.xsl
+IDTOXMLID=$(DOCBOOK_SVN)/xsl/tools/xsl/build/id-to-xmlid.xsl
XMLFILES=$(foreach file,$(XSLFILES),$(basename $(file)).xml)
endif
$(RM) $(PARAMPROF)
-$(PARAMBASE).xml: $(PARAMSTRIP)
+$(PARAMBASE).xml: $(PARAMXMLID)
+ $(XSLT) $< $(IDTOXMLID) > $@
+
+$(PARAMXMLID): $(PARAMSTRIP)
ifeq ($(ADDNEWLINE),)
$(XSLT) $< $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@
else
$(RM) $(XMLFILES)
$(RM) $(PARAMSTRIP)
$(RM) $(PARAMDBKNS)
+ $(RM) $(PARAMXMLID)
ifeq (,$(NO_MAKEFILE_PARAM))
$(RM) Makefile.param
echo "# foo" > Makefile.param