use $(GPERF) instead of using gperf from path

This commit is contained in:
Bapt 2012-01-23 11:09:39 +01:00 committed by Miklos Vajna
parent 47c6f602f7
commit f908fc4ca5
2 changed files with 2 additions and 2 deletions

View file

@ -372,7 +372,7 @@ $(eval $(call gb_Library_set_include,oox,\
))
$(oox_INC)/tokenhash.inc : $(oox_MISC)/tokenhash.gperf
gperf --compare-strncmp $< | sed -e 's/(char\*)0/(char\*)0, 0/g' | grep -v '^#line' > $@
$(GPERF) --compare-strncmp $< | sed -e 's/(char\*)0/(char\*)0, 0/g' | grep -v '^#line' > $@
oox_GenTarget_get_target = $(oox_MISC)/$(1)

View file

@ -143,7 +143,7 @@ $(wf_GEN_ooxml_NamespaceIds_hxx) : $(wf_SRC_ooxml_NamespaceIds_xsl) $(wf_GEN_oox
$(wf_GEN_ooxml_GperfFastToken_hxx) : $(wf_SRC_ooxml_GperfFastTokenHandler_xsl) $(wf_GEN_ooxml_Model_processed)
$(call gb_Output_announce,$@,build,GPF,1)
$(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $(wf_SRC_ooxml_GperfFastTokenHandler_xsl) $(wf_GEN_ooxml_Model_processed)) \
| tr -d '\r' | gperf -I -t -E -S1 -c -G -LC++ > $@
| tr -d '\r' | $(GPERF) -I -t -E -S1 -c -G -LC++ > $@
$(wf_GEN_ooxml_Model_analyzed): $(wf_SRC_ooxml_Analyze_model_xsl) $(wf_SRC_ooxml_Model)
$(call gb_Output_announce,$@,build,XSL,1)