diff options
author | zachir <zachir@librem.one> | 2021-08-16 18:22:39 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2021-08-16 18:22:39 -0500 |
commit | 5e61b38fb5c2e7b4100e2d391711c019870fb9d8 (patch) | |
tree | e051cf7bcb9932a7137b3324d904c43df2d54c41 /Makefile | |
parent | 65bae4da356c78d67eb8a1a69d258460a1360cb4 (diff) |
update
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ include config.mk -SRC = st.c x.c +SRC = st.c x.c hb.c OBJ = $(SRC:.c=.o) all: options st @@ -22,7 +22,8 @@ config.h: $(CC) $(STCFLAGS) -c $< st.o: config.h st.h win.h -x.o: arg.h config.h st.h win.h +x.o: arg.h config.h st.h win.h hb.h +hb.o: st.h $(OBJ): config.h config.mk @@ -49,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)$(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 |