gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
'update-external-tags' make target added It is used to dowload or update the doxygen external tag definition file of libstdc++. After doing that, any usase of STL will be linked to their documentations at http://gcc.gnu.org.
0 1 0
default
1 file changed with 5 insertions and 0 deletions:
↑ Collapse diff ↑
Show white space 24 line context
... ...
@@ -18,24 +18,29 @@
18 18
	  cd doc; \
19 19
	  doxygen Doxyfile; \
20 20
	  cd ..; \
21 21
	fi
22 22

	
23 23
clean-local:
24 24
	-rm -rf doc/html
25 25
	-rm -f doc/doxygen.log
26 26

	
27 27
doc/html:
28 28
	$(MAKE) $(AM_MAKEFLAGS) doc-clean
29 29

	
30
update-external-tags:
31
	wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
32
	mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
33
	rm doc/libstdc++.tag.tmp
34

	
30 35
if WANT_DOC
31 36

	
32 37
install-data-local: doc/html
33 38
	@$(NORMAL_INSTALL)
34 39
	$(mkinstalldirs) $(DESTDIR)$(htmldir)
35 40
	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
36 41
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
37 42
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
38 43
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
39 44
	done
40 45

	
41 46
uninstall-local: doc/html
0 comments (0 inline)