summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 03:36:44 -0600
committerzachir <zachir@librem.one>2023-02-20 03:36:44 -0600
commitee92619d4974bd0b290857941759d83539a38433 (patch)
tree4aa67ff61bae1f83a5756e5e218afcc8673c0ddf /Makefile
parent2f61d0c62db903f0f6836ed3e5c80f9ee93b6971 (diff)
add netwmicon patch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6dfa212..541a990 100644
--- a/Makefile
+++ b/Makefile
@@ -50,9 +50,12 @@ install: st
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
tic -sx st.info
@echo Please see the README file regarding the terminfo entry of st.
+ mkdir -p $(DESTDIR)$(ICONPREFIX)
+ [ -f $(ICONNAME) ] && cp -f $(ICONNAME) $(DESTDIR)$(ICONPREFIX) || :
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
+ rm -f $(DESTDIR)$(ICONPREFIX)/$(ICONNAME)
.PHONY: all options clean dist install uninstall