It's easy to forget things, like fixed with the following out of tree
patch.
commit ec6937b989a171e872c58bc60f8b21bd25880cd5
Author: M Farkas-Dyck <[email protected]>
Date: Wed Dec 10 14:29:34 2014 -0500
dist arg.h; needed to build
diff --git a/Makefile b/Makefile
index 52af636..25719f1 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ clean:
dist: clean
@echo creating dist tarball
@mkdir -p st-${VERSION}
- @cp -R LICENSE Makefile README config.mk config.def.h st.info st.1
${SRC} st-${VERSION}
+ @cp -R LICENSE Makefile README config.mk config.def.h st.info st.1
${SRC} arg.h st-${VERSION}
@tar -cf st-${VERSION}.tar st-${VERSION}
@gzip st-${VERSION}.tar
@rm -rf st-${VERSION}
Less code, and people notice when things aren't in the repo unlike a
little used target.
---
Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 4d6a8a9..01e50ef 100644
--- a/Makefile
+++ b/Makefile
@@ -33,11 +33,7 @@ clean:
dist: clean
@echo creating dist tarball
- @mkdir -p st-${VERSION}
- @cp -R LICENSE Makefile README config.mk config.def.h st.info st.1
${SRC} st-${VERSION}
- @tar -cf st-${VERSION}.tar st-${VERSION}
- @gzip st-${VERSION}.tar
- @rm -rf st-${VERSION}
+ @git archive --prefix=st-${VERSION}/ HEAD | gzip -c >
st-${VERSION}.tar.gz
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
--
2.3.3