---
Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 470ac86..7d5ab41 100644
--- a/Makefile
+++ b/Makefile
@@ -33,12 +33,7 @@ clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz
dist: clean
- mkdir -p st-$(VERSION)
- cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\
- 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)
+ git archive --prefix st-$(VERSION)/ HEAD | gzip > st-$(VERSION).tar.gz
install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
--
2.30.0