| 
									
										
										
										
											2008-12-02 12:01:29 +01:00
										 |  |  | unix { | 
					
						
							| 
									
										
										
										
											2009-01-07 15:47:25 +01:00
										 |  |  |     QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html $$(QTDIR)/tools/qdoc3/qdoc3 | 
					
						
							| 
									
										
										
										
											2009-01-08 13:44:37 +01:00
										 |  |  |     HELPGENERATOR = $$(QTDIR)/bin/qhelpgenerator | 
					
						
							| 
									
										
										
										
											2008-12-02 12:01:29 +01:00
										 |  |  | } else { | 
					
						
							| 
									
										
										
										
											2009-01-14 18:10:59 +01:00
										 |  |  |     QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$(QTDIR)\tools\qdoc3\release\qdoc3.exe | 
					
						
							| 
									
										
										
										
											2009-01-08 13:44:37 +01:00
										 |  |  |     HELPGENERATOR = $$(QTDIR)\bin\qhelpgenerator.exe | 
					
						
							| 
									
										
										
										
											2008-12-02 12:01:29 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-07 15:47:25 +01:00
										 |  |  | QHP_FILE = $$OUT_PWD/doc/html/qtcreator.qhp | 
					
						
							| 
									
										
										
										
											2009-01-16 17:33:56 +01:00
										 |  |  | QCH_FILE = $$OUT_PWD/share/doc/qtcreator/qtcreator.qch | 
					
						
							| 
									
										
										
										
											2008-12-02 12:01:29 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-14 20:08:39 +01:00
										 |  |  | unix { | 
					
						
							|  |  |  | html_docs.commands = $$QDOC $$PWD/qtcreator.qdocconf | 
					
						
							|  |  |  | } else { | 
					
						
							| 
									
										
										
										
											2009-01-14 19:39:11 +01:00
										 |  |  | html_docs.commands = \"$$QDOC $$PWD/qtcreator.qdocconf\" | 
					
						
							| 
									
										
										
										
											2009-01-14 20:08:39 +01:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2008-12-02 12:01:29 +01:00
										 |  |  | html_docs.depends += $$PWD/qtcreator.qdoc $$PWD/qtcreator.qdocconf | 
					
						
							|  |  |  | html_docs.files = $$QHP_FILE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | qch_docs.commands = $$HELPGENERATOR -o $$QCH_FILE $$QHP_FILE | 
					
						
							|  |  |  | qch_docs.depends += html_docs | 
					
						
							|  |  |  | qch_docs.files = $$QCH_FILE | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-03-13 10:31:30 +01:00
										 |  |  | unix:!macx { | 
					
						
							|  |  |  |     system("mkdir -p `dirname $$QCH_FILE` && touch $$QCH_FILE") | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-20 14:58:10 +01:00
										 |  |  |     qch_docs.path = /share/doc/qtcreator | 
					
						
							|  |  |  |     INSTALLS += qch_docs | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-07 15:47:25 +01:00
										 |  |  | macx { | 
					
						
							| 
									
										
										
										
											2009-01-27 12:41:37 +01:00
										 |  |  |     DOC_DIR = $${OUT_PWD}/bin/QtCreator.app/Contents/Resources/doc  | 
					
						
							|  |  |  |     cp_docs.commands = mkdir -p $${DOC_DIR} ; $${QMAKE_COPY} $${QCH_FILE} $${DOC_DIR} | 
					
						
							| 
									
										
										
										
											2009-01-07 15:47:25 +01:00
										 |  |  |     cp_docs.depends += qch_docs | 
					
						
							|  |  |  |     docs.depends = cp_docs | 
					
						
							|  |  |  |     QMAKE_EXTRA_TARGETS += html_docs qch_docs cp_docs docs | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | !macx { | 
					
						
							|  |  |  |     docs.depends = qch_docs | 
					
						
							|  |  |  |     QMAKE_EXTRA_TARGETS += html_docs qch_docs docs | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2008-12-02 12:01:29 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-03-31 14:16:52 +02:00
										 |  |  | OTHER_FILES = qtcreator.qdoc \ | 
					
						
							|  |  |  |               qtcreator.qdocconf | 
					
						
							| 
									
										
										
										
											2009-04-24 16:00:19 +02:00
										 |  |  | OTHER_FILES += api/qtcreator-api.qdoc \ | 
					
						
							|  |  |  |                api/qtcreator-api.qdocconf |