doc: The configure script can be used on MinGW
[jansson.git] / Makefile.am
index b4b5bc3..e1fd3ab 100644 (file)
@@ -1 +1,10 @@
-SUBDIRS = src test
+EXTRA_DIST = CHANGES LICENSE README.rst
+SUBDIRS = doc src test
+
+# "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