File: Makefile

package info (click to toggle)
coz-profiler 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 22,528 kB
  • sloc: ansic: 188,045; javascript: 20,133; cpp: 6,852; makefile: 214; python: 118; sh: 88
file content (21 lines) | stat: -rw-r--r-- 826 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ROOT := .
DIRS := libcoz viewer

include $(ROOT)/common.mk

update-gh-pages:: all
	@echo $(LOG_PREFIX) Pushing profiler viewer to gh-pages branch $(LOG_SUFFIX)
	@git push origin `git subtree split --prefix viewer master 2> /dev/null`:gh-pages

install:: all
	@echo $(LOG_PREFIX) Installing coz to prefix $(prefix) $(LOG_SUFFIX)
	@sed 's@destdir@"${DESTDIR}${prefix}"@g' coz-profilerConfig.cmake.in > coz-profilerConfig.cmake
	@$(INSTALL) -D coz $(DESTDIR)$(bindir)/coz
	@#$(INSTALL) -D coz-profilerConfig.cmake $(DESTDIR)$(pkglibdir)/coz-profilerConfig.cmake
	@$(INSTALL) -D libcoz/libcoz.so $(DESTDIR)$(pkglibdir)/libcoz.so
	@$(INSTALL) -D include/coz.h $(DESTDIR)$(incdir)/coz.h
	@mkdir -p $(DESTDIR)$(man1dir)
	@$(RST2MAN) docs/coz.rst $(DESTDIR)$(man1dir)/coz.1

bench bench_small bench_large::
	@$(MAKE) -C benchmarks $@