diff options
-rw-r--r-- | gentoobrowse-api/service/Jamfile.jam | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gentoobrowse-api/service/Jamfile.jam b/gentoobrowse-api/service/Jamfile.jam index ed13895..164db97 100644 --- a/gentoobrowse-api/service/Jamfile.jam +++ b/gentoobrowse-api/service/Jamfile.jam @@ -4,16 +4,14 @@ import generators : register-standard ; type.register XSLT : xslt ; -generators.register-standard xslt.c : XSLT : C H ; +generators.register-standard xxd.i : XSLT : C H ; -actions xslt.c +actions xxd.i { - echo "extern unsigned char $(2:B)_xslt[];" > $(1[2]) - echo "extern unsigned int $(2:B)_xslt_len;" >> $(1[2]) - ( cd $(2:D) ; xxd -i $(2:B)$(2:S) ) > $(1[1]) + ( cd $(2:D) ; xxd -i $(2:B)$(2:S) ) | tee $(1[1]) | cproto -veo $(1[2]) } -IMPORT $(__name__) : xslt.c : : xslt.c ; +IMPORT $(__name__) : xxd.i : : xxd.i ; lib icetray : : : : <include>/usr/include/icetray ; lib git2 ; |