blob: c5b66e736075feb7448e5241984c64afd7a7aa97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
diff --color --unified --recursive --text a/fatrace-0.19.1/Makefile b/fatrace-0.19.1/Makefile
--- a/fatrace-0.19.1/Makefile 2025-08-26 03:50:19.000000000 -0500
+++ b/fatrace-0.19.1/Makefile 2025-12-19 17:37:28.224819974 -0500
@@ -1,5 +1,5 @@
CFLAGS ?= -O2 -g -Wall -Wextra -Werror
-PREFIX ?= /usr/local
+PREFIX ?= /usr
all: fatrace tests/slow-exit.so tests/simple-touch
@@ -12,10 +12,8 @@
distclean: clean
install: fatrace
- install -m 755 -D fatrace $(DESTDIR)$(PREFIX)/sbin/fatrace
- install -m 755 power-usage-report $(DESTDIR)$(PREFIX)/sbin/
- install -d $(DESTDIR)$(PREFIX)/share/man/man8/
- install -m 644 *.8 $(DESTDIR)$(PREFIX)/share/man/man8/
+ install -m 755 -D fatrace $(DESTDIR)$(PREFIX)/bin/fatrace
+ install -m 644 -D fatrace.8 $(DESTDIR)$(PREFIX)/share/man/man8/fatrace.8
tests/slow-exit.so: tests/slow-exit.c
$(CC) -shared -fPIC -o $@ $< -ldl
@@ -24,9 +22,7 @@
$(CC) $(CFLAGS) -o $@ $<
lint:
- ruff check power-usage-report
ruff check tests
- mypy power-usage-report
mypy tests
|