]> granicus.if.org Git - json-c/commitdiff
Issue #113: Add more files to EXTRA_DIST and a dist-hook to get distcheck to at least...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 27 Jun 2016 04:28:34 +0000 (04:28 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 27 Jun 2016 04:30:04 +0000 (04:30 +0000)
Makefile.am

index 9f6328f15cc361587ef5bb0c879f1a98a5bd2104..526c7edc08b8548ddcb52205447f9eb1d7df6eeb 100644 (file)
@@ -1,5 +1,13 @@
 
-EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
+EXTRA_DIST = README.md README.html README-WIN32.html 
+EXTRA_DIST += config.h.win32 json-c.vcproj json-c.vcxproj json-c.vcxproj.filters
+EXTRA_DIST += Doxyfile doc
+
+dist-hook:
+       test -d "$(distdir)/doc" || mkdir "$(distdir)/doc"
+       chmod -R u+w "$(distdir)/doc"
+       cd "$(distdir)" && doxygen
+
 SUBDIRS = . tests
 
 lib_LTLIBRARIES = libjson-c.la