ensure installation target directories exist
This commit is contained in:
parent
984ec9317a
commit
5bf11ae35e
8
Makefile
8
Makefile
@ -19,15 +19,23 @@ install: \
|
|||||||
res/desktop/$(NAME).desktop \
|
res/desktop/$(NAME).desktop \
|
||||||
res/icons/$(NAME).svg \
|
res/icons/$(NAME).svg \
|
||||||
res/polkit/org.freedesktop.policykit.$(NAME).policy
|
res/polkit/org.freedesktop.policykit.$(NAME).policy
|
||||||
|
install -d -m 755 \
|
||||||
|
$(DESTDIR)$(BINDIR)
|
||||||
install -m 755 \
|
install -m 755 \
|
||||||
bin/$(NAME) \
|
bin/$(NAME) \
|
||||||
$(DESTDIR)$(BINDIR)/$(NAME)
|
$(DESTDIR)$(BINDIR)/$(NAME)
|
||||||
|
install -d -m 755 \
|
||||||
|
$(DESTDIR)$(POLDIR)
|
||||||
install -m 644 \
|
install -m 644 \
|
||||||
res/polkit/org.freedesktop.policykit.$(NAME).policy \
|
res/polkit/org.freedesktop.policykit.$(NAME).policy \
|
||||||
$(DESTDIR)$(POLDIR)/org.freedesktop.policykit.$(NAME).policy
|
$(DESTDIR)$(POLDIR)/org.freedesktop.policykit.$(NAME).policy
|
||||||
|
install -d -m 755 \
|
||||||
|
$(DESTDIR)$(ICONSDIR)
|
||||||
install -m 644 \
|
install -m 644 \
|
||||||
res/icons/$(NAME).svg \
|
res/icons/$(NAME).svg \
|
||||||
$(DESTDIR)$(ICONSDIR)/$(NAME).svg
|
$(DESTDIR)$(ICONSDIR)/$(NAME).svg
|
||||||
|
install -d -m 755 \
|
||||||
|
$(DESTDIR)$(APPDIR)
|
||||||
install -m 644 \
|
install -m 644 \
|
||||||
res/desktop/$(NAME).desktop \
|
res/desktop/$(NAME).desktop \
|
||||||
$(DESTDIR)$(APPDIR)/$(NAME).desktop
|
$(DESTDIR)$(APPDIR)/$(NAME).desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user