diff options
author | Johan Dahlin <johan@gnome.org> | 2008-08-28 10:02:23 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-08-28 10:02:23 +0000 |
commit | aaa1c3c04caa1f6049727b7c68dc2c5632b95c52 (patch) | |
tree | bc6e264e4adb6c9ea99cb5505c6ceb2929d79c9b /tests | |
parent | 0b23c0f0dca1db32b9c4b155f69df8aea9f0a25a (diff) | |
download | gobject-introspection-aaa1c3c04caa1f6049727b7c68dc2c5632b95c52.tar.gz |
Make distcheck pass.
2008-08-28 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* configure.ac:
* gir/Makefile.am:
* giscanner/Makefile.am:
* tests/Makefile.am:
* tests/scanner/Makefile.am:
Make distcheck pass.
svn path=/trunk/; revision=507
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 7 | ||||
-rw-r--r-- | tests/scanner/Makefile.am | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 37df1c26..57e07873 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = . invoke scanner EXTRA_DIST = \ array.gir \ boxed.gir \ + constant.gir \ enum.gir \ errors.gir \ function.gir \ @@ -25,9 +26,9 @@ GIRTESTS = \ %.gir.test: %.gir @echo Testing $<: - $(DEBUG) $(top_builddir)/tools/g-ir-compiler $< > $<.1; \ - $(DEBUG) $(top_builddir)/tools/g-ir-generate $<.1 > $<.2; \ - diff -u $< $<.2; rm $<.1 $<.2 + $(DEBUG) $(top_builddir)/tools/g-ir-compiler $< > $*.1; \ + $(DEBUG) $(top_builddir)/tools/g-ir-generate $*.1 > $*.2; \ + diff -u $< $*.2; rm $*.1 $*.2 check-local: $(GIRTESTS) @echo Running PEP8 on Python sources diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index bd62a364..5383b998 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -25,8 +25,10 @@ SCANNER_LIBS = \ TYPELIBS = $(GIRS:.gir=.typelib) TXMLS = $(GIRS:.gir=.gir.txml) CHECKGIRS = $(GIRS:.gir=.gir.check) +EXPECTEDGIRS = $(GIRS:.gir=-expected.gir) CLEANFILES = $(TYPELIBS) $(TXMLS) $(GIRS) BUILT_SOURCES = $(TYPELIBS) $(TXMLS) $(GIRS) +EXTRA_DIST = $(EXPECTEDGIRS) %.gir: lib%.la %.c %.h utility.gir $(SCANNER) $(SCANNER_LIBS) Makefile $(CHECK_DEBUG) $(SCANNER) -v \ @@ -53,7 +55,7 @@ GIRS += utility.gir pre-check: @if test "$(top_builddir)" != "$(top_srcdir)"; then \ - cp $(top_srcdir)/giscanner/*.py $(top_builddir)/giscanner; \ + cp -f $(top_srcdir)/giscanner/*.py $(top_builddir)/giscanner; \ fi @echo "Running scanner checks..." |