summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Thompson <stagr.lee@gmail.com>2013-02-04 07:01:18 -0600
committerLee Thompson <stagr.lee@gmail.com>2013-02-04 07:01:18 -0600
commit1d3d2efc89746a6f702efeded7680c63fe91d87f (patch)
tree5fa60d034e5eeae67eceb495cbd43eabf756b2bc
parent43fd939f1628ce88274b28aaa284946f00e8aadb (diff)
add man page to release
-rw-r--r--Makefile.am42
-rw-r--r--jq.spec1
2 files changed, 42 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3f65c660..90c5f6d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,42 @@
# setup is only used by distribution developers, not package developers.
# Still, as a matter of allowing patching, its not a bad idea to distribute
# the developer setup script in the tarball.
-EXTRA_DIST = setup.sh config.h.in ChangeLog VERSION lexer.l lexer.h gen_utf8_tables.py jq.spec testdata
+EXTRA_DIST = \
+ setup.sh \
+ config.h.in \
+ ChangeLog \
+ VERSION \
+ lexer.l \
+ lexer.h \
+ gen_utf8_tables.py \
+ jq.spec \
+ testdata \
+ docs/content/1.tutorial/default.yml \
+ docs/content/2.download/default.yml \
+ docs/content/3.manual/manual.yml \
+ docs/content/index/index.yml \
+ docs/Gemfile \
+ docs/Gemfile.lock \
+ docs/public/.htaccess \
+ docs/public/bootstrap/css/bootstrap-responsive.css \
+ docs/public/bootstrap/css/bootstrap-responsive.min.css \
+ docs/public/bootstrap/css/bootstrap.css \
+ docs/public/bootstrap/css/bootstrap.min.css \
+ docs/public/bootstrap/img/glyphicons-halflings-white.png \
+ docs/public/bootstrap/img/glyphicons-halflings.png \
+ docs/public/bootstrap/js/bootstrap.js \
+ docs/public/bootstrap/js/bootstrap.min.js \
+ docs/public/css/base.scss \
+ docs/public/jq.png \
+ docs/public/robots.txt \
+ docs/Rakefile \
+ docs/site.yml \
+ docs/templates/default.liquid \
+ docs/templates/index.liquid \
+ docs/templates/manual.liquid \
+ docs/templates/shared/_footer.liquid \
+ docs/templates/shared/_head.liquid \
+ docs/templates/shared/_header.liquid
# README.md is expected in Github projects, good stuff in it, so we'll
# distribute it and install it with the package in the doc directory.
@@ -87,6 +122,11 @@ TESTS = jq_test
LOG_COMPILER = valgrind
AM_LOG_FLAGS = --error-exitcode=1 -q --leak-check=full
+man_MANS = jq.1
+
+jq.1 :
+ cd ${abs_srcdir}/docs; rake manpage > ${abs_builddir}/$@
+
# nasty circular dependency on header files between the generated C files
parser.o: lexer.c
diff --git a/jq.spec b/jq.spec
index 3697ed02..87dfc0de 100644
--- a/jq.spec
+++ b/jq.spec
@@ -56,6 +56,7 @@ rm -rf %{buildroot}
%{_datadir}/doc/%{name}/NEWS
%{_datadir}/doc/%{name}/README
%{_datadir}/doc/%{name}/README.md
+%{_datadir}/man/man1/jq.1
%changelog