aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-08 21:41:30 -0600
committerTim Keller <tjkeller.xyz>2025-01-08 21:41:30 -0600
commitd8e0ba487eca7164aed1d1fde1258558a6e44368 (patch)
treef9bc22b98f3450252a52c79a6bdeca2fe5b814b8 /Makefile
parent6009e6e25bdff9548f085e9ae562b1ca305d3a0b (diff)
downloadst-d8e0ba487eca7164aed1d1fde1258558a6e44368.tar.xz
st-d8e0ba487eca7164aed1d1fde1258558a6e44368.zip
add patches and configtj-0.9.2.00.9.2.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 15db421..5132a07 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
include config.mk
-SRC = st.c x.c
+SRC = st.c x.c boxdraw.c
OBJ = $(SRC:.c=.o)
all: st
@@ -17,6 +17,7 @@ config.h:
st.o: config.h st.h win.h
x.o: arg.h config.h st.h win.h
+boxdraw.o: config.h st.h boxdraw_data.h
$(OBJ): config.h config.mk
@@ -43,9 +44,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)$(APPPREFIX)
+ cp -f st.desktop $(DESTDIR)$(APPPREFIX)
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
+ rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
.PHONY: all clean dist install uninstall