/[libml]/libml/doc/Makefile
ViewVC logotype

Diff of /libml/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by srv89, Mon Nov 17 09:29:56 2003 UTC revision 1.4 by srv89, Mon Nov 24 17:19:37 2003 UTC
# Line 44  doc: Line 44  doc:
44          @make _clean-default          @make _clean-default
45          @make _doc-tarball          @make _doc-tarball
46    
 INSTALLED_DOC_SUBDIRS = error,init,input,learn,misc,networks,propagate,xml  
   
47  INSTALL = install -o root -g root  INSTALL = install -o root -g root
48    
49  INSTALL_D = $(INSTALL) -m 755  INSTALL_D = $(INSTALL) -m 755
# Line 53  INSTALL_F = $(INSTALL) -m 644 Line 51  INSTALL_F = $(INSTALL) -m 644
51    
52  install:  install:
53          @echo " + creating directories ..."          @echo " + creating directories ..."
54          $(INSTALL_D) -d $(DOC_INSTALL_PATH)/{examples/helloworld,html/{$(INSTALLED_DOC_SUBDIRS)},man/{$(INSTALLED_DOC_SUBDIRS)},pdf,ps,texi,texi2html,user_manual/html}          $(INSTALL_D) -d $(DOC_INSTALL_PATH)/{examples/helloworld,html/,user_manual/html}
55          @echo " + installing files ..."          @echo " + installing files ..."
56          @make _install-examples          @make _install-examples
57          @make _install-html          $(INSTALL_F) html/*.{html,css} $(DOC_INSTALL_PATH)/html
58          @make _install-man          $(INSTALL_F) $(NAME)_code_documentation.{pdf,ps} $(DOC_INSTALL_PATH)
         $(INSTALL_F) pdf/*.pdf $(DOC_INSTALL_PATH)/pdf  
         $(INSTALL_F) ps/*.ps $(DOC_INSTALL_PATH)/ps  
         $(INSTALL_F) texi/*.texi $(DOC_INSTALL_PATH)/texi  
         $(INSTALL_F) texi2html/*.html $(DOC_INSTALL_PATH)/texi2html  
59          $(INSTALL_F) $(USER_MANUAL_DIR)/html/* \          $(INSTALL_F) $(USER_MANUAL_DIR)/html/* \
60          $(DOC_INSTALL_PATH)/$(USER_MANUAL_DIR)/html          $(DOC_INSTALL_PATH)/$(USER_MANUAL_DIR)/html
61          $(INSTALL_F) $(USER_MANUAL_DIR)/$(NAME)_user_manual.{pdf,ps} \          $(INSTALL_F) $(USER_MANUAL_DIR)/$(NAME)_user_manual.{pdf,ps} \
# Line 72  _install-examples: Line 66  _install-examples:
66          $(INSTALL_F) examples/helloworld/{helloworld.ml,Makefile} \          $(INSTALL_F) examples/helloworld/{helloworld.ml,Makefile} \
67          $(DOC_INSTALL_PATH)/examples/helloworld          $(DOC_INSTALL_PATH)/examples/helloworld
68    
 _install-html:  
         for i in $(SUBDIRS);\  
         do\  
         $(INSTALL_F) html/$$i/{*.html,style.css} $(DOC_INSTALL_PATH)/html/$$i;\  
         done  
   
 _install-man:  
         for i in $(SUBDIRS);\  
         do\  
         $(INSTALL_F) man/$$i/*.txt $(DOC_INSTALL_PATH)/man/$$i;\  
         done  
   
69  uninstall:  uninstall:
70          @echo " + remoning installed documentation ..."          @echo " + remoning installed documentation ..."
71          rm -Rf $(DOC_INSTALL_PATH)          rm -Rf $(DOC_INSTALL_PATH)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26