Permalink
Browse files

fix deprecated customdir option

  • Loading branch information...
1 parent f0564fa commit 19e101ad4f53b7b0ac1c729d25526533fd2fde14 @shana committed Jan 30, 2013
Showing with 11 additions and 6 deletions.
  1. +1 −0 AUTHORS
  2. +7 −1 README
  3. +3 −5 bindinate/Makefile.am.template
View
@@ -0,0 +1 @@
+Andreia Gaita <shana@spoiledcat.net>
View
@@ -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.
@@ -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.
@@ -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 \
@@ -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

0 comments on commit 19e101a

Please sign in to comment.