Lines 1-11
Link Here
|
1 |
ifeq ($(shell id -u), 0) |
1 |
datadir = /usr/share |
2 |
EXTENSION_DIR = /usr/share/nautilus-python/extensions |
2 |
|
3 |
SCHEMA_DIR = /usr/share/glib-2.0/schemas |
3 |
ifneq ($(shell id -u), 0) |
4 |
else |
4 |
datadir = ~/.local/share |
5 |
EXTENSION_DIR = ~/.local/share/nautilus-python/extensions |
|
|
6 |
SCHEMA_DIR = ~/.local/share/glib-2.0/schemas |
7 |
endif |
5 |
endif |
8 |
|
6 |
|
|
|
7 |
EXTENSION_DIR = $(datadir)/nautilus-python/extensions |
8 |
SCHEMA_DIR = $(datadir)/glib-2.0/schemas |
9 |
|
9 |
install: |
10 |
install: |
10 |
install -d $(EXTENSION_DIR) |
11 |
install -d $(EXTENSION_DIR) |
11 |
install Back.py $(EXTENSION_DIR) |
12 |
install Back.py $(EXTENSION_DIR) |