summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 01:09:42 -0600
committerzachir <zachir@librem.one>2023-02-20 01:09:42 -0600
commitf5878b3ffbef39b69f93f4c18549640372f87077 (patch)
treed421e4824bdbf66ebf89a19b2b26b279f4c6b0e8 /Makefile
parent3f9b30ef78af7c80e55d2e9f111212a432544e2e (diff)
initialize branch at st 0.9 upstream
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index eacc2ef..470ac86 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
include config.mk
-SRC = st.c x.c hb.c
+SRC = st.c x.c
OBJ = $(SRC:.c=.o)
all: options st
@@ -22,8 +22,7 @@ config.h:
$(CC) $(STCFLAGS) -c $<
st.o: config.h st.h win.h
-x.o: arg.h config.h st.h win.h hb.h
-hb.o: st.h
+x.o: arg.h config.h st.h win.h
$(OBJ): config.h config.mk
@@ -50,12 +49,9 @@ 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)$(PREFIX)/share/applications
- cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
- rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop
.PHONY: all options clean dist install uninstall