update spec version
[jansson.git] / Makefile.am
index e64f397..5b4fb98 100644 (file)
@@ -1,7 +1,11 @@
-EXTRA_DIST = CHANGES LICENSE README.rst
+EXTRA_DIST = CHANGES LICENSE README.rst win32 jansson.spec
+
 SUBDIRS = doc src test
 
-distcheck-hook:
-       sphinx-build -b html -W \
-               $(distdir)/doc \
-               $(distdir)/_build/doc/.build/html
+# "make distcheck" builds the dvi target, so use it to check that the
+# documentation is built correctly.
+dvi:
+       $(MAKE) SPHINXOPTS_EXTRA=-W html
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = jansson.pc