open-src/lib/freeglut/Makefile
changeset 1181 0b84072b8a3f
parent 1176 22a62d074ec1
child 1196 1ce455dae979
--- a/open-src/lib/freeglut/Makefile	Tue Aug 02 13:39:00 2011 -0700
+++ b/open-src/lib/freeglut/Makefile	Wed Aug 03 12:49:34 2011 -0700
@@ -47,7 +47,7 @@
 SOURCE_URL_SET = yes
 
 # Patches to apply to source after unpacking, in order
-SOURCE_PATCHES = Makefile.in.0.patch
+SOURCE_PATCHES = 
 
 # Source tarball
 SOURCE_TARBALL_NAME = freeglut-$(MODULE_VERSION).tar.gz
@@ -69,6 +69,9 @@
 #  FreeGLUT really wants to know that we are POSIX friendly
 MODULE_CPPFLAGS = -D__posix__ -D__unix__
 
+# Additional targets to install
+MODULE_ADD_INSTALL_TARGETS = install_doc
+
 include ../Makefile.inc
 
 # FreeGLUT's $(VERSION_INFO) breaks delibtoolize.pl
@@ -86,3 +89,10 @@
 	    ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so ; \
 	    cd - )
 
+FREEGLUT_DOC=$(PROTODIR)$(MODULE_DOC_DIR)/freeglut_user_interface.html	
+install_doc: $(FREEGLUT_DOC)
+
+$(FREEGLUT_DOC): $(INSTALL_DEPS) 
+	$(INSTALL_SCRIPT) -c -m 0444 \
+	    $(SOURCE_DIR)/doc/freeglut_user_interface.html $@
+