Skip to content

Commit

Permalink
fix deprecated customdir option
Browse files Browse the repository at this point in the history
  • Loading branch information
shana committed Jan 30, 2013
1 parent f0564fa commit 19e101a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Andreia Gaita <[email protected]>
8 changes: 7 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Example:

bindinate WebKit-1.0 webkit-1.0

===== Extra cs code =====

If you want to extend/add code, you can add extra source files to the sources
list in Makefile.am

===== Extra package checks =====

The bindinate tool creates a directory of the same name as the supplied
gir file name and produces the needed files for compiling a binding.
Expand All @@ -37,4 +43,4 @@ AC_DEFUN([CHECK_MONOCAIRO],


The bindinate tool will add a CHECK_MONOCAIRO call to configure.ac and
$(MONOCAIRO_LIBS) will be added to the assembly build line automatically.
$(MONOCAIRO_LIBS) will be added to the assembly build line automatically.
8 changes: 3 additions & 5 deletions bindinate/Makefile.am.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ METADATA=$(ASSEMBLY_NAME).metadata

sources =

build_sources = AssemblyInfo.cs $(sources)

customs =
build_sources = AssemblyInfo.cs custom/*.cs $(sources)

CLEANFILES = $(ASSEMBLY_NAME).dll generated-stamp generated/*.cs $(API)

DISTCLEANFILES= AssemblyInfo.cs $(ASSEMBLY_PC).pc $(ASSEMBLY_NAME).dll.config

noinst_DATA = $(ASSEMBLY_NAME).dll

EXTRA_DIST = $(RAW_API) $(sources) $(customs) $(METADATA) \
EXTRA_DIST = $(RAW_API) $(sources) $(METADATA) \
AssemblyInfo.cs.in \
$(ASSEMBLY_NAME).snk \
$(ASSEMBLY_NAME).dll.config.in \
Expand All @@ -33,7 +31,7 @@ $(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)

generated-stamp: $(API)
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GTK_SHARP_CFLAGS) \
--outdir=generated --customdir=$(srcdir) \
--outdir=generated \
--assembly-name=$(ASSEMBLY_NAME) && touch generated-stamp

$(ASSEMBLY_NAME).dll: $(build_sources) generated-stamp
Expand Down

0 comments on commit 19e101a

Please sign in to comment.