commit 889c341caa7be15219274bbeea80de86e01ee93d
parent dad6aa5b168f109d1a2651812571fcb4de861257
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 2 Jan 2015 15:59:58 +0100
Makefile: copy doc dir for dist
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -64,7 +64,7 @@ options:
.c.o:
${CC} -c ${CFLAGS} $<
-dist: $(BIN)
+dist: $(BIN) doc
mkdir -p release/${VERSION}
# legacy man-pages (add doc-oldman as dependency rule).
#for m in $(MAN1); do cp -f doc/man/$$m release/${VERSION}/; done
@@ -72,6 +72,9 @@ dist: $(BIN)
Makefile config.mk \
sfeedrc.example style.css \
release/${VERSION}/
+ # copy doc.
+ cp -rf doc/ release/${VERSION}/
+ # make tarball
rm -f sfeed-${VERSION}.tar.gz
(cd release/${VERSION}; \
tar -czf ../../sfeed-${VERSION}.tar.gz .)