GNUmakefile.am 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. noinst_PROGRAMS += \
  2. Programs/ImageDiff
  3. if ENABLE_WEBKIT1
  4. noinst_PROGRAMS += \
  5. Programs/DumpRenderTree \
  6. Programs/GtkLauncher
  7. endif
  8. # GtkLauncher
  9. Programs_GtkLauncher_CPPFLAGS = \
  10. -I$(srcdir)/Source/WebKit/gtk \
  11. -I$(srcdir)/Source/WebCore/platform/network/soup/cache/ \
  12. -I$(top_builddir)/Source/WebKit/gtk \
  13. -I$(top_builddir)/DerivedSources \
  14. -DWEBKIT_EXEC_PATH=\"${shell pwd}/$(top_builddir)/Programs/\" \
  15. $(global_cppflags) \
  16. $(javascriptcore_cppflags)
  17. Programs_GtkLauncher_SOURCES = \
  18. Tools/GtkLauncher/LauncherInspectorWindow.c \
  19. Tools/GtkLauncher/LauncherInspectorWindow.h \
  20. Tools/GtkLauncher/main.c
  21. Programs_GtkLauncher_CFLAGS = \
  22. -ansi \
  23. -fno-strict-aliasing \
  24. $(global_cflags) \
  25. $(FREETYPE_CFLAGS) \
  26. $(GTK_CFLAGS) \
  27. $(LIBSOUP_CFLAGS) \
  28. $(GSTREAMER_CFLAGS)
  29. Programs_GtkLauncher_LDADD = \
  30. libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
  31. libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
  32. $(FREETYPE_LIBS) \
  33. $(GTK_LIBS) \
  34. $(GLIB_LIBS) \
  35. $(LIBSOUP_LIBS) \
  36. $(WINMM_LIBS) \
  37. $(GSTREAMER_LIBS)
  38. Programs_GtkLauncher_LDFLAGS = \
  39. -no-fast-install \
  40. -no-install
  41. # libWebCoreInternals
  42. # We must split off the window.internals implementation into a separate
  43. # convenience library because it requires a different include path order
  44. # to prefer the WebCore config.h over the DumpRenderTree config.h
  45. noinst_LTLIBRARIES += libWebCoreInternals.la
  46. libWebCoreInternals_la_SOURCES = \
  47. Source/WebCore/bindings/js/JSDOMWrapper.cpp \
  48. Source/WebCore/bindings/js/JSDOMWrapper.h \
  49. Source/WebCore/testing/MallocStatistics.h \
  50. Source/WebCore/testing/MemoryInfo.h \
  51. Source/WebCore/testing/Internals.cpp \
  52. Source/WebCore/testing/Internals.h \
  53. Source/WebCore/testing/InternalSettings.cpp \
  54. Source/WebCore/testing/InternalSettings.h \
  55. Source/WebCore/testing/TypeConversions.h \
  56. Source/WebCore/testing/js/WebCoreTestSupport.cpp \
  57. Source/WebCore/testing/js/WebCoreTestSupport.h
  58. libwebcoreinternals_built_sources += \
  59. DerivedSources/WebCore/InternalSettingsGenerated.cpp \
  60. DerivedSources/WebCore/InternalSettingsGenerated.h \
  61. DerivedSources/WebCore/JSMallocStatistics.cpp \
  62. DerivedSources/WebCore/JSMallocStatistics.h \
  63. DerivedSources/WebCore/JSMemoryInfo.cpp \
  64. DerivedSources/WebCore/JSMemoryInfo.h \
  65. DerivedSources/WebCore/JSInternals.cpp \
  66. DerivedSources/WebCore/JSInternals.h \
  67. DerivedSources/WebCore/JSInternalSettings.cpp \
  68. DerivedSources/WebCore/JSInternalSettings.h \
  69. DerivedSources/WebCore/JSInternalSettingsGenerated.cpp \
  70. DerivedSources/WebCore/JSInternalSettingsGenerated.h \
  71. DerivedSources/WebCore/JSTypeConversions.cpp \
  72. DerivedSources/WebCore/JSTypeConversions.h
  73. nodist_libWebCoreInternals_la_SOURCES = $(libwebcoreinternals_built_sources)
  74. BUILT_SOURCES += $(libwebcoreinternals_built_sources)
  75. libWebCoreInternals_la_CPPFLAGS = \
  76. $(global_cppflags) \
  77. $(platform_cppflags) \
  78. $(platformgtk_cppflags) \
  79. $(webcore_cppflags) \
  80. $(webcoregtk_cppflags) \
  81. $(javascriptcore_cppflags) \
  82. $(CAIRO_CFLAGS) \
  83. $(FREETYPE_CFLAGS) \
  84. $(LIBSOUP_CFLAGS) \
  85. $(PANGO_CFLAGS) \
  86. -I$(top_builddir)/DerivedSources \
  87. -I$(top_builddir)/DerivedSources/WebCore
  88. libWebCoreInternals_la_CXXFLAGS = \
  89. $(global_cxxflags) \
  90. $(libWebCoreInternals_la_CFLAGS)
  91. libWebCoreInternals_la_CFLAGS = \
  92. -fno-strict-aliasing \
  93. $(javascriptcore_cflags)
  94. # DumpRenderTree
  95. Programs_DumpRenderTree_CPPFLAGS = \
  96. $(global_cppflags) \
  97. -DTOP_LEVEL_DIR=\"${shell pwd}/${srcdir}\" \
  98. -I$(srcdir)/Tools/DumpRenderTree \
  99. -I$(srcdir)/Tools/DumpRenderTree/atk \
  100. -I$(srcdir)/Tools/DumpRenderTree/cairo \
  101. -I$(srcdir)/Tools/DumpRenderTree/gtk \
  102. -I$(srcdir)/Source/WebKit/gtk \
  103. -I$(srcdir)/Source/WebCore/platform/gtk \
  104. -I$(srcdir)/Source/WebCore/testing/js \
  105. -I$(top_builddir)/DerivedSources \
  106. -I$(top_builddir)/Source/WebKit/gtk \
  107. $(javascriptcore_cppflags) \
  108. $(platform_cppflags) \
  109. $(platformgtk_cppflags) \
  110. $(webcore_cppflags)
  111. if TARGET_X11
  112. Programs_DumpRenderTree_CPPFLAGS += \
  113. -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
  114. -DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\"
  115. endif
  116. Programs_DumpRenderTree_SOURCES = \
  117. Source/WebCore/platform/gtk/GtkVersioning.c \
  118. Tools/DumpRenderTree/DumpRenderTree.h \
  119. Tools/DumpRenderTree/DumpRenderTreeCommon.cpp \
  120. Tools/DumpRenderTree/DumpRenderTreePrefix.h \
  121. Tools/DumpRenderTree/AccessibilityController.cpp \
  122. Tools/DumpRenderTree/AccessibilityController.h \
  123. Tools/DumpRenderTree/AccessibilityTextMarker.cpp \
  124. Tools/DumpRenderTree/AccessibilityTextMarker.h \
  125. Tools/DumpRenderTree/AccessibilityUIElement.cpp \
  126. Tools/DumpRenderTree/AccessibilityUIElement.h \
  127. Tools/DumpRenderTree/CyclicRedundancyCheck.cpp \
  128. Tools/DumpRenderTree/CyclicRedundancyCheck.h \
  129. Tools/DumpRenderTree/GCController.cpp \
  130. Tools/DumpRenderTree/GCController.h \
  131. Tools/DumpRenderTree/JavaScriptThreading.h \
  132. Tools/DumpRenderTree/TestRunner.cpp \
  133. Tools/DumpRenderTree/TestRunner.h \
  134. Tools/DumpRenderTree/PixelDumpSupport.cpp \
  135. Tools/DumpRenderTree/PixelDumpSupport.h \
  136. Tools/DumpRenderTree/WorkQueue.cpp \
  137. Tools/DumpRenderTree/WorkQueue.h \
  138. Tools/DumpRenderTree/WorkQueueItem.h \
  139. Tools/DumpRenderTree/config.h \
  140. Tools/DumpRenderTree/atk/AccessibilityCallbacks.h \
  141. Tools/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp \
  142. Tools/DumpRenderTree/atk/AccessibilityControllerAtk.cpp \
  143. Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp \
  144. Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp \
  145. Tools/DumpRenderTree/cairo/PixelDumpSupportCairo.h \
  146. Tools/DumpRenderTree/gtk/AccessibilityControllerGtk.cpp \
  147. Tools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp \
  148. Tools/DumpRenderTree/gtk/DumpRenderTree.cpp \
  149. Tools/DumpRenderTree/gtk/DumpRenderTreeGtk.h \
  150. Tools/DumpRenderTree/gtk/EditingCallbacks.h \
  151. Tools/DumpRenderTree/gtk/EditingCallbacks.cpp \
  152. Tools/DumpRenderTree/gtk/EventSender.h \
  153. Tools/DumpRenderTree/gtk/EventSender.cpp \
  154. Tools/DumpRenderTree/gtk/GCControllerGtk.cpp \
  155. Tools/DumpRenderTree/gtk/TestRunnerGtk.cpp \
  156. Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp \
  157. Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp \
  158. Tools/DumpRenderTree/gtk/SelfScrollingWebKitWebView.h \
  159. Tools/DumpRenderTree/gtk/TextInputController.h \
  160. Tools/DumpRenderTree/gtk/TextInputController.cpp \
  161. Tools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp
  162. Programs_DumpRenderTree_CXXFLAGS = \
  163. $(global_cxxflags) \
  164. $(Programs_DumpRenderTree_CFLAGS)
  165. Programs_DumpRenderTree_CFLAGS = \
  166. -fno-strict-aliasing \
  167. $(global_cflags) \
  168. $(GLOBALDEPS_CFLAGS) \
  169. $(CAIRO_CFLAGS) \
  170. $(GTK_CFLAGS) \
  171. $(LIBSOUP_CFLAGS)
  172. Programs_DumpRenderTree_LDADD = \
  173. libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
  174. libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
  175. libPlatform.la \
  176. libPlatformGtk.la \
  177. libWebCorePlatform.la \
  178. libWebCoreModules.la \
  179. libWebCoreInternals.la \
  180. $(GLOBALDEPS_LIBS) \
  181. $(CAIRO_LIBS) \
  182. $(GTK_LIBS) \
  183. $(GLIB_LIBS) \
  184. $(LIBSOUP_LIBS) \
  185. $(FREETYPE_LIBS) \
  186. $(WINMM_LIBS) \
  187. $(XRENDER_LIBS) \
  188. $(XT_LIBS)
  189. Programs_DumpRenderTree_LDFLAGS = \
  190. -no-fast-install \
  191. -no-install
  192. # ImageDiff
  193. Programs_ImageDiff_CPPFLAGS = $(global_cppflags)
  194. Programs_ImageDiff_SOURCES = \
  195. Tools/ImageDiff/gtk/ImageDiff.cpp
  196. Programs_ImageDiff_CXXFLAGS = \
  197. $(global_cxxflags) \
  198. $(global_cppflags) \
  199. $(Programs_ImageDiff_CFLAGS)
  200. Programs_ImageDiff_CFLAGS = \
  201. -fno-strict-aliasing \
  202. $(global_cflags) \
  203. $(GLOBALDEPS_CFLAGS) \
  204. $(GTK_CFLAGS)
  205. Programs_ImageDiff_LDADD = \
  206. $(GTK_LIBS)
  207. Programs_ImageDiff_LDFLAGS = \
  208. -no-fast-install \
  209. -no-install
  210. # clean target
  211. CLEANFILES += \
  212. Programs/DumpRenderTree \
  213. Programs/GtkLauncher \
  214. Programs/ImageDiff
  215. if TARGET_X11
  216. # Build TestNetscapePlugin only for X11
  217. # since we don't support plugins for non-X11 builds at the moment.
  218. noinst_LTLIBRARIES += \
  219. TestNetscapePlugin/libtestnetscapeplugin.la
  220. TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS = \
  221. -I$(srcdir)/Tools/DumpRenderTree \
  222. -I$(srcdir)/Source/WebCore \
  223. -I$(srcdir)/Source/WebCore/bridge \
  224. -I$(srcdir)/Source/WebCore/plugins \
  225. -I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn \
  226. -I$(srcdir)/Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders \
  227. $(global_cppflags) \
  228. $(javascriptcore_cppflags)
  229. # For the Gtk port we want to use XP_UNIX both on X11 and Mac
  230. if !TARGET_WIN32
  231. TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DXP_UNIX
  232. endif
  233. # Add MOZ_X11 only for X11 targets
  234. if TARGET_X11
  235. TestNetscapePlugin_libtestnetscapeplugin_la_CPPFLAGS += -DMOZ_X11
  236. endif
  237. TestNetscapePlugin_libtestnetscapeplugin_la_SOURCES = \
  238. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp \
  239. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp \
  240. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/FormValue.cpp \
  241. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \
  242. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp \
  243. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
  244. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
  245. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/LogNPPSetWindow.cpp \
  246. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
  247. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPNewFails.cpp \
  248. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp \
  249. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp \
  250. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
  251. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp \
  252. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp \
  253. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp \
  254. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp \
  255. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp \
  256. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/ToStringAndValueOfObject.cpp \
  257. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/x11/CallInvalidateRectWithNullNPPArgument.cpp \
  258. Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp \
  259. Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h \
  260. Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp \
  261. Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \
  262. Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \
  263. Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h \
  264. Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp \
  265. Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h \
  266. Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h \
  267. Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h
  268. TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
  269. -rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
  270. $(no_undefined) \
  271. -avoid-version \
  272. -module
  273. CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la
  274. endif
  275. check-local:
  276. $(top_srcdir)/Tools/Scripts/run-gtk-tests --timeout=-1
  277. EXTRA_DIST += \
  278. Tools/gtk/common.py \
  279. Tools/gtk/generate-feature-defines-files \
  280. Tools/gtk/generate-gtkdoc \
  281. Tools/gtk/gtkdoc.py \
  282. Tools/jhbuild/jhbuildutils.py \
  283. Tools/Scripts/VCSUtils.pm \
  284. Tools/Scripts/run-gtk-tests \
  285. Tools/Scripts/webkit-build-directory \
  286. Tools/Scripts/webkitdirs.pm
  287. docs: docs-build.stamp
  288. .PHONY : docs
  289. DISTCLEANFILES += docs-build.stamp
  290. docs_build_stamp_list = \
  291. Source/WebKit/gtk/docs/webkitenvironment.xml
  292. if ENABLE_WEBKIT1
  293. docs_build_stamp_list += \
  294. libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
  295. Source/WebKit/gtk/docs/webkitgtk-docs.sgml \
  296. Source/WebKit/gtk/docs/webkitgtk-sections.txt
  297. endif
  298. if ENABLE_WEBKIT2
  299. docs_build_stamp_list += \
  300. libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
  301. Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml \
  302. Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt
  303. endif
  304. docs-build.stamp: $(docs_build_stamp_list)
  305. CC=$(CC) $(srcdir)/Tools/gtk/generate-gtkdoc
  306. @touch docs-build.stamp
  307. clean-local: doc-clean-local
  308. doc-clean-local:
  309. @rm -f Documentation/webkitgtk/*~ Documentation/webkitgtk*.bak
  310. @rm -f Documentation/webkit2gtk/*~ Documentation/webkit2gtk*.bak
  311. distclean-local: doc-distclean-local
  312. doc-distclean-local:
  313. @rm -rf Documentation
  314. maintainer-clean-local: doc-maintainer-clean-local
  315. doc-maintainer-clean-local: clean
  316. @rm -rf Documentation/webkitgtk Documentation/webkit2gtk
  317. -@rmdir Documentation
  318. install-data-local:
  319. if ENABLE_WEBKIT1
  320. @installfiles=`echo ./Documentation/webkitgtk/html/*`; \
  321. if test "$$installfiles" = './Documentation/webkitgtk/html/*'; \
  322. then echo 1>&2 'No documentation to install' ; \
  323. else \
  324. DOC_MODULE_VERSION=`cat ./Documentation/webkitgtk/version.xml`; \
  325. if test -n "$(DOC_MODULE_VERSION)"; then \
  326. installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk-$(DOC_MODULE_VERSION)"; \
  327. else \
  328. installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk"; \
  329. fi; \
  330. $(mkinstalldirs) $${installdir} ; \
  331. for i in $$installfiles; do \
  332. echo ' $(INSTALL_DATA) '$$i ; \
  333. $(INSTALL_DATA) $$i $${installdir}; \
  334. done; \
  335. if test -n "$(DOC_MODULE_VERSION)"; then \
  336. mv -f $${installdir}/webkitgtk.devhelp2 \
  337. $${installdir}/webkitgtk-$(DOC_MODULE_VERSION).devhelp2; \
  338. fi; \
  339. fi
  340. endif
  341. if ENABLE_WEBKIT2
  342. @installfiles=`echo ./Documentation/webkit2gtk/html/*`; \
  343. if test "$$installfiles" = './Documentation/webkit2gtk/html/*'; \
  344. then echo 1>&2 'No documentation to install' ; \
  345. else \
  346. DOC_MODULE_VERSION=`cat ./Documentation/webkit2gtk/version.xml`; \
  347. if test -n "$(DOC_MODULE_VERSION)"; then \
  348. installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk-$(DOC_MODULE_VERSION)"; \
  349. else \
  350. installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk"; \
  351. fi; \
  352. $(mkinstalldirs) $${installdir} ; \
  353. for i in $$installfiles; do \
  354. echo ' $(INSTALL_DATA) '$$i ; \
  355. $(INSTALL_DATA) $$i $${installdir}; \
  356. done; \
  357. if test -n "$(DOC_MODULE_VERSION)"; then \
  358. mv -f $${installdir}/webkit2gtk.devhelp2 \
  359. $${installdir}/webkit2gtk-$(DOC_MODULE_VERSION).devhelp2; \
  360. fi; \
  361. fi
  362. endif
  363. @$(AM_V_GEN) PKG_CONFIG=$(PKG_CONFIG) $(PYTHON) $(srcdir)/Tools/gtk/generate-gtkdoc --rebase --virtual-root=$${DESTDIR}
  364. uninstall-local:
  365. if ENABLE_WEBKIT1
  366. @DOC_MODULE_VERSION=`cat ./Documentation/webkitgtk/version.xml`; \
  367. if test -n "$(DOC_MODULE_VERSION)"; then \
  368. installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk-$(DOC_MODULE_VERSION)"; \
  369. else \
  370. installdir="$(DESTDIR)$(HTML_DIR)/webkitgtk"; \
  371. fi; \
  372. rm -rf $${installdir}
  373. endif
  374. if ENABLE_WEBKIT2
  375. @DOC_MODULE_VERSION=`cat ./Documentation/webkit2gtk/version.xml`; \
  376. if test -n "$(DOC_MODULE_VERSION)"; then \
  377. installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk-$(DOC_MODULE_VERSION)"; \
  378. else \
  379. installdir="$(DESTDIR)$(HTML_DIR)/webkit2gtk"; \
  380. fi; \
  381. rm -rf $${installdir}
  382. endif
  383. if ENABLE_GTK_DOC
  384. noinst_DATA += docs-build.stamp
  385. endif