Selective generation of protocols and profile endpoints.
[shibboleth/sp.git] / doc / Makefile.am
index 89f52d4..03f93ee 100644 (file)
@@ -1,18 +1,23 @@
 AUTOMAKE_OPTIONS = foreign
 
-pkgdocdir = $(prefix)/doc/@PACKAGE@
-pkgdoc_DATA = \
+pkgdocdir = $(datadir)/doc/@PACKAGE@-@PACKAGE_VERSION@
+
+install-data-hook:
+       cp -r api $(DESTDIR)$(pkgdocdir)
+       rm -rf `find $(DESTDIR)$(pkgdocdir)/api -name .svn`
+
+docfiles = \
        CREDITS.txt \
-       INSTALL.txt \
-       INSTALL-WIN32.txt \
        LICENSE.txt \
-       NEWS.txt \
        NOTICE.txt \
        README.txt \
+       RELEASE.txt \
+       FASTCGI.LICENSE \
        OPENSSL.LICENSE \
        LOG4CPP.LICENSE \
-       CURL.LICENSE \
-       InQueue.html \
-       mysql-4.0.12.diff \
        main.css \
-       logo.jpg
\ No newline at end of file
+       logo.jpg
+       
+pkgdoc_DATA = $(docfiles)
+
+EXTRA_DIST = $(docfiles) api