diff --git src/optional/python-bindings/Makefile.am src/optional/python-bindings/Makefile.am
index d0fcbe4..db2ece2 100644
--- src/optional/python-bindings/Makefile.am
+++ src/optional/python-bindings/Makefile.am
@@ -68,5 +68,7 @@ EXTRA_DIST = \
   example_scripts/test_imbalance_transaction.py \
   glib.i
 
-MAINTAINERCLEANFILES = gnucash-core.c
+MAINTAINERCLEANFILES = gnucash_core.c
 
+clean-local:
+	-rm gnucash_core.c
