.. | .. |
---|
23 | 23 | install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config |
---|
24 | 24 | |
---|
25 | 25 | 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 |
---|
28 | 28 | |
---|
29 | 29 | install -d $(DESTDIR)$(PREFIX)/share/man/man8 |
---|
30 | 30 | install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 |
---|
.. | .. |
---|
41 | 41 | if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config ] ; then \ |
---|
42 | 42 | rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/config; \ |
---|
43 | 43 | 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; |
---|
44 | 48 | rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/* |
---|
45 | 49 | if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph ] ; then \ |
---|
46 | 50 | rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph; \ |
---|