Fix distcheck
authorJohan Dahlin <johan@src.gnome.org>
Thu, 22 Jan 2009 00:43:03 +0000 (00:43 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Thu, 22 Jan 2009 00:43:03 +0000 (00:43 +0000)
svn path=/trunk/; revision=1059

tests/scanner/Makefile.am

index bc291b8..e3b8416 100644 (file)
@@ -155,6 +155,11 @@ post-check:
            rm -f $*.tgir; \
         fi
 
+distclean-local:
+       @if test "$(top_builddir)" != "$(top_srcdir)"; then \
+           rm -f $(top_builddir)/tests/scanner/*.tgir; \
+       fi
+
 check-local: pre-check
 check-local: $(CHECKGIRS) $(CHECKTGIRS) $(TYPELIBS)