---
 docs/html/Makefile.am |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/docs/html/Makefile.am b/docs/html/Makefile.am
index d3cf399..7de7737 100644
--- a/docs/html/Makefile.am
+++ b/docs/html/Makefile.am
@@ -1,5 +1,8 @@
 EXTRA_DIST = directfb.png
 
+htmldir = \
+       $(datadir)/doc/fusionsound/html/
+
 docs_headers = \
        $(top_srcdir)/include/fusionsound.h
 
@@ -10,5 +13,10 @@ stamp-docs: $(top_srcdir)/tools/gendoc.pl $(docs_headers) 
Makefile.am
        $(PERL) $(top_srcdir)/tools/gendoc.pl $(FUSIONSOUND_VERSION) 
$(docs_headers) \
        && echo timestamp > $$rootme/stamp-docs
 
+install-data-local: stamp-docs
+       mkdir -p $(DESTDIR)$(htmldir)
+       $(INSTALL_DATA) *.html $(DESTDIR)$(htmldir)
+       $(INSTALL_DATA) *.png $(DESTDIR)$(htmldir)
+
 distclean-local:
        rm -f *.html stamp-docs
-- 
1.5.3.7


_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to