diff options
author | louie <louie@example.com> | 2022-07-23 16:56:53 -0700 |
---|---|---|
committer | louie <louie@example.com> | 2022-07-23 16:56:53 -0700 |
commit | fdbf1ddbd2f5bc29ee9ee9bca43a802044c58c04 (patch) | |
tree | 9c8bb27e4616b2018b5d9f97ba10442f0c05ba5d /Makefile | |
parent | a3d8a9508f3d0edfffc1ab5791bb29b0ae7a79c5 (diff) |
Change 'cp' to 'install'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -55,20 +55,20 @@ desktop-entry: echo "Icon=$(NAME)" >> icon/$(NAME).desktop echo "Terminal=true" >> icon/$(NAME).desktop echo "Categories=Utility" >> icon/$(NAME).desktop - mkdir -p $(DESTDIR)$(PREFIX)/share/applications - mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps - cp icon/icon.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/$(NAME).svg + install -d $(DESTDIR)$(PREFIX)/share/applications + install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps + install icon/icon.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/$(NAME).svg desktop-file-install --dir=$(DESTDIR)$(PREFIX)/share/applications icon/$(NAME).desktop update-desktop-database $(DESTDIR)$(PREFIX)/share/applications .PHONY: install install: - mkdir -p $(DESTDIR)$(PREFIX)/bin - cp $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME) - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 - cp docs/$(NAME).1.gz $(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1.gz - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man5 - cp docs/$(NAME)-config.5.gz $(DESTDIR)$(PREFIX)/share/man/man5/$(NAME)-config.5.gz + install -d $(DESTDIR)$(PREFIX)/bin + install $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME) + install -d $(DESTDIR)$(PREFIX)/share/man/man1 + install docs/$(NAME).1.gz $(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1.gz + install -d $(DESTDIR)$(PREFIX)/share/man/man5 + install docs/$(NAME)-config.5.gz $(DESTDIR)$(PREFIX)/share/man/man5/$(NAME)-config.5.gz .PHONY: uninstall uninstall: |