diff --git a/Makefile b/Makefile index 04e5c94..5f4deba 100644 --- a/Makefile +++ b/Makefile @@ -30,11 +30,21 @@ $(HOME)/rpmbuild/SOURCES/$(NAME)-%.tar.gz: . .PHONY: install install: - install -D --no-target-directory server.conf.sample $(DESTDIR)$(SYSCONFDIR)/$(NAME)/server.conf - install -D --target-directory=$(DESTDIR)$(SYSCONFDIR)/$(NAME) server.conf.sample - install -D --target-directory=$(DESTDIR)$(UNITDIR) systemd/netoik-api-server.service - install -D --no-target-directory bin/server $(DESTDIR)$(BINDIR)/$(NAME)-server - install --directory $(DESTDIR)$(VARDIR)/$(NAME)/captcha + install -D \ + --no-target-directory \ + server.conf.sample \ + "$(DESTDIR)$(SYSCONFDIR)/$(NAME)/server.conf" + install -D \ + --target-directory="$(DESTDIR)$(SYSCONFDIR)/$(NAME)" \ + server.conf.sample + install -D \ + --target-directory="$(DESTDIR)$(UNITDIR)" \ + systemd/netoik-api-server.service + install -D \ + --no-target-directory \ + bin/server \ + "$(DESTDIR)$(BINDIR)/$(NAME)-server" + install --directory "$(DESTDIR)$(VARDIR)/$(NAME)/captcha" .PHONY: check_format check_format: