summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30adf77..a184097 100644
--- 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 .)