aboutsummaryrefslogtreecommitdiff
path: root/.repos/st/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.repos/st/Makefile')
-rw-r--r--.repos/st/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/.repos/st/Makefile b/.repos/st/Makefile
index 2e05e4b..470ac86 100644
--- a/.repos/st/Makefile
+++ b/.repos/st/Makefile
@@ -4,7 +4,7 @@
include config.mk
-SRC = st.c x.c boxdraw.c
+SRC = st.c x.c
OBJ = $(SRC:.c=.o)
all: options st
@@ -23,7 +23,6 @@ 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
@@ -31,7 +30,7 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
- rm -f st $(OBJ) st-$(VERSION).tar.gz *.o *.orig *.rej
+ rm -f st $(OBJ) st-$(VERSION).tar.gz
dist: clean
mkdir -p st-$(VERSION)
@@ -44,11 +43,7 @@ dist: clean
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
@@ -57,8 +52,6 @@ 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