]> granicus.if.org Git - jq/commitdiff
add man page to release
authorLee Thompson <stagr.lee@gmail.com>
Mon, 4 Feb 2013 13:01:18 +0000 (07:01 -0600)
committerLee Thompson <stagr.lee@gmail.com>
Mon, 4 Feb 2013 13:01:18 +0000 (07:01 -0600)
Makefile.am
jq.spec

index 3f65c660e6aa03292c58d110c1d05392602f17fa..90c5f6d501840179f5544692f6ff6199dca2d2de 100644 (file)
@@ -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 3697ed02953e624206037333efc51a506edbff50..87dfc0de09cac2f6b4750cacbb4681e56b70deaf 100644 (file)
--- 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