From: Stephane Delcroix Date: Sat, 14 Feb 2009 12:46:06 +0000 (+0100) Subject: new 'api' target to regenerate the raw api X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3e480d2da29143e4e406999a57d6c379b5f9d71;p=libchamplain new 'api' target to regenerate the raw api --- diff --git a/bindings/managed/Makefile.include b/bindings/managed/Makefile.include index dbf7254..ea54697 100644 --- a/bindings/managed/Makefile.include +++ b/bindings/managed/Makefile.include @@ -18,10 +18,10 @@ api_includes = $(GTKSHARP_CFLAGS) $(CLUTTERSHARP_CFLAGS) $(CLUTTER_GTK_CFLAGS) $ references = $(GTKSHARP_LIBS) $(CLUTTER_SHARP_LIBS) $(CLUTTER_GTK_SHARP_LIBS) $(custom_references) +api: + $(GAPI_PARSER) $(SOURCES_XML) + $(CHAMPLAIN_FIXED_API): - @if ! [ -e '$(CHAMPLAIN_RAW_API)' ]; then \ - $(GAPI_PARSER) $(SOURCES_XML); \ - fi cp $(CHAMPLAIN_RAW_API) $(CHAMPLAIN_FIXED_API) $(GAPI_FIXUP) --api=$(CHAMPLAIN_FIXED_API) --metadata=$(CHAMPLAIN_METADATA) $(GAPI_CODEGEN) --outdir=./generated --customdir=. $(api_includes) --generate $(CHAMPLAIN_FIXED_API)