summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2021-12-10 15:26:13 -0800
committerlouie <lshprung@yahoo.com>2021-12-10 15:26:13 -0800
commita3d8a9508f3d0edfffc1ab5791bb29b0ae7a79c5 (patch)
treef546c0bf53e07fec255529c82c42148b1c9f0ae1 /Makefile
parente58f35f4580ad4377c3ba5dcaee5bbbd938713c6 (diff)
Changed name. May tidy up/differentiate 'Terminal Media Launcher' vs 'terminal-media-launcher'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 20649f3..f9ac894 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC = gcc
-NAME = tml
+NAME = terminal-media-launcher
LIBS = -lncurses
PREFIX = /usr/local
@@ -57,18 +57,18 @@ desktop-entry:
echo "Categories=Utility" >> icon/$(NAME).desktop
mkdir -p $(DESTDIR)$(PREFIX)/share/applications
mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
- cp -i icon/icon.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/tml.svg
+ cp 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 -i $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME)
+ cp $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME)
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
- cp -i docs/$(NAME).1.gz $(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1.gz
+ cp docs/$(NAME).1.gz $(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1.gz
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man5
- cp -i docs/$(NAME)-config.5.gz $(DESTDIR)$(PREFIX)/share/man/man5/$(NAME)-config.5.gz
+ cp docs/$(NAME)-config.5.gz $(DESTDIR)$(PREFIX)/share/man/man5/$(NAME)-config.5.gz
.PHONY: uninstall
uninstall: