diff options
author | Marvin Borner | 2020-05-30 16:12:43 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-30 16:12:43 +0200 |
commit | 96cde026875d0cb74274ff509a082c7131ba74ab (patch) | |
tree | 915f42e07cdb2fe90f5d46c294eb8ad612f55feb /.repos/st/Makefile | |
parent | fd7cd8ecce2f5cfa7530e3954c2a6669ec282a67 (diff) |
Synced upstream of terminal
Diffstat (limited to '.repos/st/Makefile')
-rw-r--r-- | .repos/st/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.repos/st/Makefile b/.repos/st/Makefile index a836907..2e05e4b 100644 --- a/.repos/st/Makefile +++ b/.repos/st/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: options st @@ -23,6 +23,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 @@ -30,7 +31,7 @@ st: $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) clean: - rm -f st $(OBJ) st-$(VERSION).tar.gz + rm -f st $(OBJ) st-$(VERSION).tar.gz *.o *.orig *.rej dist: clean mkdir -p st-$(VERSION) @@ -44,8 +45,10 @@ install: st mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f st $(DESTDIR)$(PREFIX)/bin cp -f st-copyout $(DESTDIR)$(PREFIX)/bin + cp -f st-urlhandler $(DESTDIR)$(PREFIX)/bin chmod 755 $(DESTDIR)$(PREFIX)/bin/st chmod 755 $(DESTDIR)$(PREFIX)/bin/st-copyout + chmod 755 $(DESTDIR)$(PREFIX)/bin/st-urlhandler mkdir -p $(DESTDIR)$(MANPREFIX)/man1 sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 @@ -55,6 +58,7 @@ install: st uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st rm -f $(DESTDIR)$(PREFIX)/bin/st-copyout + rm -f $(DESTDIR)$(PREFIX)/bin/st-urlhandler rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 .PHONY: all options clean dist install uninstall |