From 1d3d2efc89746a6f702efeded7680c63fe91d87f Mon Sep 17 00:00:00 2001 From: Lee Thompson Date: Mon, 4 Feb 2013 07:01:18 -0600 Subject: [PATCH] add man page to release --- Makefile.am | 42 +++++++++++++++++++++++++++++++++++++++++- jq.spec | 1 + 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3f65c66..90c5f6d 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 3697ed0..87dfc0d 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 -- 2.40.0