gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Rename documentation install folder from 'docs' to 'html'
0 2 0
default
2 files changed with 6 insertions and 6 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
... ...
@@ -14,36 +14,36 @@
14 14
  SET(GHOSTSCRIPT_OPTIONS -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=pngalpha)
15 15
  ADD_CUSTOM_TARGET(html
16 16
    COMMAND ${CMAKE_COMMAND} -E remove_directory gen-images
17 17
    COMMAND ${CMAKE_COMMAND} -E make_directory gen-images
18 18
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/bipartite_matching.png ${CMAKE_CURRENT_SOURCE_DIR}/images/bipartite_matching.eps
19 19
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/bipartite_partitions.png ${CMAKE_CURRENT_SOURCE_DIR}/images/bipartite_partitions.eps
20 20
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/connected_components.png ${CMAKE_CURRENT_SOURCE_DIR}/images/connected_components.eps
21 21
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/edge_biconnected_components.png ${CMAKE_CURRENT_SOURCE_DIR}/images/edge_biconnected_components.eps
22 22
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/grid_graph.png ${CMAKE_CURRENT_SOURCE_DIR}/images/grid_graph.eps
23 23
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/node_biconnected_components.png ${CMAKE_CURRENT_SOURCE_DIR}/images/node_biconnected_components.eps
24 24
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/nodeshape_0.png ${CMAKE_CURRENT_SOURCE_DIR}/images/nodeshape_0.eps
25 25
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/nodeshape_1.png ${CMAKE_CURRENT_SOURCE_DIR}/images/nodeshape_1.eps
26 26
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/nodeshape_2.png ${CMAKE_CURRENT_SOURCE_DIR}/images/nodeshape_2.eps
27 27
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/nodeshape_3.png ${CMAKE_CURRENT_SOURCE_DIR}/images/nodeshape_3.eps
28 28
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/nodeshape_4.png ${CMAKE_CURRENT_SOURCE_DIR}/images/nodeshape_4.eps
29 29
    COMMAND ${GHOSTSCRIPT_EXECUTABLE} ${GHOSTSCRIPT_OPTIONS} -r18 -sOutputFile=gen-images/strongly_connected_components.png ${CMAKE_CURRENT_SOURCE_DIR}/images/strongly_connected_components.eps
30 30
    COMMAND ${CMAKE_COMMAND} -E remove_directory html
31 31
    COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
32 32
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
33 33
  )
34 34

	
35 35
  IF(UNIX)
36 36
    INSTALL(
37 37
      DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
38
      DESTINATION share/doc/lemon/docs
38
      DESTINATION share/doc/lemon/html
39 39
      COMPONENT html_documentation
40 40
    )
41 41
  ELSEIF(WIN32)
42 42
    INSTALL(
43 43
      DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
44 44
      DESTINATION doc
45 45
      COMPONENT html_documentation
46 46
    )
47 47
  ENDIF(UNIX)
48 48

	
49 49
ENDIF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
Ignore white space 48 line context
... ...
@@ -70,40 +70,40 @@
70 70
	if test ${doxygen_found} = yes; then \
71 71
	  cd doc; \
72 72
	  doxygen Doxyfile; \
73 73
	  cd ..; \
74 74
	else \
75 75
	  echo; \
76 76
	  echo "Doxygen not found."; \
77 77
	  echo; \
78 78
	  exit 1; \
79 79
	fi
80 80

	
81 81
clean-local:
82 82
	-rm -rf doc/html
83 83
	-rm -f doc/doxygen.log
84 84
	-rm -f $(DOC_PNG_IMAGES)
85 85
	-rm -rf doc/gen-images
86 86

	
87 87
update-external-tags:
88 88
	wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
89 89
	mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
90 90
	rm doc/libstdc++.tag.tmp
91 91

	
92 92
install-html-local: doc/html
93 93
	@$(NORMAL_INSTALL)
94
	$(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
94
	$(mkinstalldirs) $(DESTDIR)$(htmldir)/html
95 95
	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
96 96
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
97
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
98
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
97
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
98
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
99 99
	done
100 100

	
101 101
uninstall-local:
102 102
	@$(NORMAL_UNINSTALL)
103 103
	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
104 104
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
105
	  echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
106
	  rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
105
	  echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
106
	  rm -f $(DESTDIR)$(htmldir)/html/$$f; \
107 107
	done
108 108

	
109 109
.PHONY: update-external-tags
0 comments (0 inline)