summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-01-02 15:59:58 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-01-02 15:59:58 +0100
commit889c341caa7be15219274bbeea80de86e01ee93d (patch)
tree5b31a5e4e3591960cb939a2980cd8cb00eb1d712 /Makefile
parentdad6aa5b168f109d1a2651812571fcb4de861257 (diff)
Makefile: copy doc dir for dist
Diffstat (limited to 'Makefile')
-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 .)