summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2010-04-15 11:41:09 -0400
committerJohn (J5) Palmieri <johnp@redhat.com>2010-04-15 13:56:17 -0400
commit5cd24966b709de7c75a83018297d8dfb3481ddb0 (patch)
tree1b927c7497822dadc5074e2d47146910a3f6c3ca
parentbc863e519f1cbc8b8304f88ff308ca1bacd676b7 (diff)
downloadpygobject-5cd24966b709de7c75a83018297d8dfb3481ddb0.tar.gz
pygobject-5cd24966b709de7c75a83018297d8dfb3481ddb0.tar.xz
pygobject-5cd24966b709de7c75a83018297d8dfb3481ddb0.zip
fixed autotools build
* some file moved from codegen to codegen/libcodegen - create Makefile.am in libcodegen dir - remove refs to files and add the libcodegen subdir in codegen/Makefile.am * add AM_MAINTAINER_MODE to configure.ac - allows ./autogen.sh to be run without flags
-rw-r--r--codegen/Makefile.am11
-rw-r--r--codegen/libcodegen/Makefile.am13
-rw-r--r--configure.ac2
3 files changed, 17 insertions, 9 deletions
diff --git a/codegen/Makefile.am b/codegen/Makefile.am
index cdb1e99..572fab2 100644
--- a/codegen/Makefile.am
+++ b/codegen/Makefile.am
@@ -1,5 +1,7 @@
PLATFORM_VERSION = 2.0
+SUBDIRS = libcodegen
+
bin_SCRIPTS = pygobject-codegen-$(PLATFORM_VERSION)
codegendir = $(pkgdatadir)/$(PLATFORM_VERSION)/codegen
@@ -19,13 +21,4 @@ codegen_SCRIPTS = \
scanvirtuals.py \
scmexpr.py
-codegen_PYTHON = \
- __init__.py \
- argtypes.py \
- definitions.py \
- defsparser.py \
- docextract.py \
- override.py \
- reversewrapper.py
-
EXTRA_DIST = $(codegen_SCRIPTS) README.defs pygobject-codegen-$(PLATFORM_VERSION).in
diff --git a/codegen/libcodegen/Makefile.am b/codegen/libcodegen/Makefile.am
new file mode 100644
index 0000000..cbf227c
--- /dev/null
+++ b/codegen/libcodegen/Makefile.am
@@ -0,0 +1,13 @@
+PLATFORM_VERSION = 2.0
+
+libcodegendir = $(pkgdatadir)/$(PLATFORM_VERSION)/codegen/libcodegen
+libcodegen_SCRIPTS = \
+ __init__.py \
+ argtypes.py \
+ definitions.py \
+ defsparser.py \
+ docextract.py \
+ override.py \
+ reversewrapper.py
+
+EXTRA_DIST = $(libcodegen_SCRIPTS)
diff --git a/configure.ac b/configure.ac
index 92695b6..416c896 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,7 @@ AC_CONFIG_SRCDIR([gobject/gobjectmodule.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
+AM_MAINTAINER_MODE
dnl put the ACLOCAL flags in the makefile
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
@@ -228,6 +229,7 @@ AC_CONFIG_FILES(
pygobject-2.0-uninstalled.pc
codegen/Makefile
codegen/pygobject-codegen-2.0
+ codegen/libcodegen/Makefile
docs/Makefile
docs/reference/entities.docbook
docs/xsl/fixxref.py