diff --git a/htmlparser/tests/outsinks/Makefile.in b/htmlparser/tests/outsinks/Makefile.in
index 8885d4da8303..6e63dee182b6 100644
--- a/htmlparser/tests/outsinks/Makefile.in
+++ b/htmlparser/tests/outsinks/Makefile.in
@@ -63,5 +63,6 @@ include $(topsrcdir)/config/rules.mk
install::
$(INSTALL) -m 555 $(srcdir)/TestOutSinks $(DIST)/bin
+ $(INSTALL) -m 555 $(srcdir)/TestOutSinks.pl $(DIST)/bin
$(INSTALL) $(addprefix $(srcdir)/, $(TEST_FILES)) $(DIST)/bin/OutTestData
diff --git a/parser/htmlparser/tests/outsinks/Makefile.in b/parser/htmlparser/tests/outsinks/Makefile.in
index 8885d4da8303..6e63dee182b6 100644
--- a/parser/htmlparser/tests/outsinks/Makefile.in
+++ b/parser/htmlparser/tests/outsinks/Makefile.in
@@ -63,5 +63,6 @@ include $(topsrcdir)/config/rules.mk
install::
$(INSTALL) -m 555 $(srcdir)/TestOutSinks $(DIST)/bin
+ $(INSTALL) -m 555 $(srcdir)/TestOutSinks.pl $(DIST)/bin
$(INSTALL) $(addprefix $(srcdir)/, $(TEST_FILES)) $(DIST)/bin/OutTestData