diff --git a/Makefile b/Makefile index 09a2165..d9895ee 100644 --- a/Makefile +++ b/Makefile @@ -19,15 +19,23 @@ install: \ res/desktop/$(NAME).desktop \ res/icons/$(NAME).svg \ res/polkit/org.freedesktop.policykit.$(NAME).policy + install -d -m 755 \ + $(DESTDIR)$(BINDIR) install -m 755 \ bin/$(NAME) \ $(DESTDIR)$(BINDIR)/$(NAME) + install -d -m 755 \ + $(DESTDIR)$(POLDIR) install -m 644 \ res/polkit/org.freedesktop.policykit.$(NAME).policy \ $(DESTDIR)$(POLDIR)/org.freedesktop.policykit.$(NAME).policy + install -d -m 755 \ + $(DESTDIR)$(ICONSDIR) install -m 644 \ res/icons/$(NAME).svg \ $(DESTDIR)$(ICONSDIR)/$(NAME).svg + install -d -m 755 \ + $(DESTDIR)$(APPDIR) install -m 644 \ res/desktop/$(NAME).desktop \ $(DESTDIR)$(APPDIR)/$(NAME).desktop