summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrjl6789 <rob.livesey@gmail.com>2019-05-09 07:37:21 +0100
committerrjl6789 <rob.livesey@gmail.com>2019-05-09 07:37:21 +0100
commit9aa7f38187cf6ff15ec1a11fc83e8d43e1b1a6d5 (patch)
tree79889ddefc19e3ea2fc1c2374d9a54727e156435 /Makefile
parente99aa29eefb43c1ea9f63c13d35bf45f7a90171b (diff)
parentda13ef12463d1870caed94584db464d68c6b3182 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0b3cecd..a836907 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ config.h:
$(CC) $(STCFLAGS) -c $<
st.o: config.h st.h win.h
-x.o: arg.h st.h win.h
+x.o: arg.h config.h st.h win.h
$(OBJ): config.h config.mk
@@ -43,7 +43,9 @@ dist: clean
install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f st $(DESTDIR)$(PREFIX)/bin
+ cp -f st-copyout $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
+ chmod 755 $(DESTDIR)$(PREFIX)/bin/st-copyout
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
@@ -52,6 +54,7 @@ install: st
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
+ rm -f $(DESTDIR)$(PREFIX)/bin/st-copyout
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
.PHONY: all options clean dist install uninstall