Add 'install-ptest' rule. Signed-off-by: Mihaela Sendrea Upstream-status: Pending --- diff -uNr a/tests/Makefile.am b/tests/Makefile.am --- a/tests/Makefile.am 2013-08-19 14:05:23.256292155 +0200 +++ b/tests/Makefile.am 2013-08-19 15:49:16.084543591 +0200 @@ -240,3 +240,14 @@ coverage: -$(srcdir)/coverage.sh endif + +install-ptest: + @$(MKDIR_P) $(DESTDIR)/tests + @$(MKDIR_P) $(DESTDIR)/src + @install $(builddir)/*$(EXEEXT) $(DESTDIR)/tests + @install $(srcdir)/*.sh $(DESTDIR)/tests + @install $(builddir)/../src/*$(EXEEXT) $(DESTDIR)/src + @cp $(builddir)/../Makefile $(DESTDIR) + @sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/tests/Makefile + @sed -i -e 's|$(srcdir)|.|' $(DESTDIR)/tests/Makefile +