aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-09-27 16:39:18 +0200
committerjoe <rbo@gmx.us>2025-09-27 16:39:18 +0200
commit68bfadeab1426868f6557a6d394490caa3e3c7e2 (patch)
tree53779ca7ba275d1ad454005f2af1c65e6a1c76e3 /Makefile
parentbefore update (diff)
downloadst-68bfadeab1426868f6557a6d394490caa3e3c7e2.tar.gz
st-68bfadeab1426868f6557a6d394490caa3e3c7e2.tar.bz2
st-68bfadeab1426868f6557a6d394490caa3e3c7e2.tar.xz
st-68bfadeab1426868f6557a6d394490caa3e3c7e2.tar.zst
st-68bfadeab1426868f6557a6d394490caa3e3c7e2.zip
update 0.9.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index e4341b6..15db421 100644
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,10 @@ include config.mk
SRC = st.c x.c
OBJ = $(SRC:.c=.o)
-all: options st
+all: st
-options:
- @echo st build options:
- @echo "CFLAGS = $(STCFLAGS)"
- @echo "LDFLAGS = $(STLDFLAGS)"
- @echo "CC = $(CC)"
+config.h:
+ cp config.def.h config.h
.c.o:
$(CC) $(STCFLAGS) -c $<
@@ -32,7 +29,7 @@ clean:
dist: clean
mkdir -p st-$(VERSION)
cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\
- st.info st.1 arg.h st.h win.h $(SRC)\
+ config.def.h st.info st.1 arg.h st.h win.h $(SRC)\
st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION)
@@ -40,7 +37,6 @@ dist: clean
install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f st $(DESTDIR)$(PREFIX)/bin
- cp -f st-cpyout $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1
@@ -52,4 +48,4 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
-.PHONY: all options clean dist install uninstall
+.PHONY: all clean dist install uninstall