# HG changeset patch
# User Nick Wellnhofer <wellnhofer@aevum.de>
# Date 1660843057 -7200
#      Thu Aug 18 19:17:37 2022 +0200
# Node ID 5b82e30ad620f5dc644a2c355fdb4e13e93dad2e
# Parent  d418c36462a8dfc5980cf29b53d23df8b106514b
Remove Makefile rule to build testapi.c

This file is under version control and should only be rebuilt on
demand.

diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,14 +135,6 @@
 	-@(if [ "$(PYTHON)" != "" ] ; then \
 	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
 
-# that one is just to make sure it is rebuilt if missing
-# but adding the dependances generate mess
-testapi.c: $(srcdir)/gentest.py
-	-@(if [ "$(PYTHON)" != "" ] ; then \
-	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
-
-BUILT_SOURCES = testapi.c
-
 testapi_SOURCES=testapi.c
 testapi_LDFLAGS = 
 testapi_DEPENDENCIES = $(DEPS)