summaryrefslogtreecommitdiff
path: root/devel/covtool/files/patch-makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-12-22 15:56:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-12-22 15:56:21 +0000
commit7897354104ea2a90a4916ae30fefe6e3fad0ee30 (patch)
tree6280478c5e7f7ef32c9bd11a841b1b6b6da34ef7 /devel/covtool/files/patch-makefile
parentKLEE is a symbolic virtual machine built on top of the (diff)
A free test coverage analysis tool for C++. Analogous to purecov but quite
different in implementation. This tool does its job by instrumenting the source as you compile. You can thus add your own instrumentation to every line on the fly. WWW: http://sourceforge.net/projects/covtool/ PR: ports/174234 Submitted by: novator24 <novator24@gmail.com>
Notes
Notes: svn path=/head/; revision=309395
Diffstat (limited to 'devel/covtool/files/patch-makefile')
-rw-r--r--devel/covtool/files/patch-makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/devel/covtool/files/patch-makefile b/devel/covtool/files/patch-makefile
new file mode 100644
index 000000000000..f20cb3ffdd91
--- /dev/null
+++ b/devel/covtool/files/patch-makefile
@@ -0,0 +1,42 @@
+--- ./makefile.orig 2009-08-02 01:51:16.000000000 +0400
++++ ./makefile 2012-12-06 17:38:24.000000000 +0400
+@@ -28,31 +28,14 @@
+
+
+ install:
+- @mkdir -p $(INSTALL_DIR)
+- if [ -w $(INSTALL_DIR)/. ] ; \
+- then \
+- for f in $(INSTALLABLES) ;\
+- do \
+- echo "installing $$f" ;\
+- cp $$f $(INSTALL_DIR) ;\
+- done ;\
+- cp -r man $(INSTALL_DIR) ;\
+- else \
+- echo "Error: can't create $(INSTALL_DIR)" ; \
+- exit 1; \
+- fi
+- @echo ""
+- @echo ""
+- @echo ""
+- @echo "Installation complete"
+- @echo "Add $(INSTALL_DIR) to your path"
+- @echo ""
+- @echo "Then run make install_tests (but not as ROOT!)"
+- @echo ""
+- @echo ""
+- @echo "Also, add $(INSTALL_DIR) to your MANPATH."
+- @echo ""
+-
++ mkdir -p $(INSTALL_DIR)/bin $(INSTALL_DIR)/share/covtool $(INSTALL_DIR)/libexec/covtool
++ for f in covtool.exe covmerge.exe covannotate.exe; do \
++ mv $${f} $${f%.*} ;\
++ $(INSTALL_PROGRAM) $${f%.*} $(INSTALL_DIR)/bin ;\
++ done
++ $(INSTALL_DATA) covtoolhelper.o covtoolhelper_debug.o covtoolhelper.c $(INSTALL_DIR)/libexec/covtool
++ $(INSTALL_DATA) README COPYRIGHT covtool_version $(INSTALL_DIR)/share/covtool
++ $(INSTALL_SCRIPT) cov++ gen_html $(INSTALL_DIR)/bin
+
+ install_tests:
+ cd install_test ; $(MAKE) all ; $(MAKE) tests