File: Makefile

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

include $(ROOT)/common.mk

all:: #js/ui.js

js/ui.js: $(wildcard ts/*.ts) tsconfig.json
	@echo $(LOG_PREFIX) Building profile viewer $(LOG_SUFFIX)
	@npm install > /dev/null

PATHS = $(filter-out Makefile node_modules README.md,$(wildcard *))
install::
	find $(PATHS) -type f -exec install --mode=644 -D "{}" $(DESTDIR)$(pkgdatadir)/viewer/"{}" \;