hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/power/pm-graph/Makefile
....@@ -23,8 +23,8 @@
2323 install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
2424
2525 install -d $(DESTDIR)$(PREFIX)/bin
26
- ln -s $(DESTDIR)$(PREFIX)/lib/pm-graph/bootgraph.py $(DESTDIR)$(PREFIX)/bin/bootgraph
27
- ln -s $(DESTDIR)$(PREFIX)/lib/pm-graph/sleepgraph.py $(DESTDIR)$(PREFIX)/bin/sleepgraph
26
+ ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(PREFIX)/bin/bootgraph
27
+ ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(PREFIX)/bin/sleepgraph
2828
2929 install -d $(DESTDIR)$(PREFIX)/share/man/man8
3030 install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8
....@@ -41,6 +41,10 @@
4141 if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config ] ; then \
4242 rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/config; \
4343 fi;
44
+ rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/__pycache__/*
45
+ if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph/__pycache__ ] ; then \
46
+ rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/__pycache__; \
47
+ fi;
4448 rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/*
4549 if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph ] ; then \
4650 rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph; \