--- a/Makefile.am
+++ b/Makefile.am
@@ -179,7 +179,5 @@
 
 dist-hook:
 	rm -rf rdpl2stream/__pycache__/
-	test -z "`git status -s | grep -v upmpdcli-${VERSION} | \
-                     grep -v rdpl2stream.tar.gz | \
-                     grep -v -- -fixed.cpp`" 
+	test -z "`git status -s | grep -v '??' | grep -v Makefile.am`" 
 	git tag -f -a upmpdcli-v$(VERSION) -m 'version $(VERSION)'