PageRenderTime 40ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/inkscape-0.48.2/Makefile.am

#
Makefile | 267 lines | 236 code | 17 blank | 14 comment | 4 complexity | 436cc50ce209f2f254bcd59c73482f81 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. ## Process this file with automake to produce Makefile.in
  2. AUTOMAKE_OPTIONS = foreign
  3. SUBDIRS = src doc share po
  4. Graphicsdir = $(datadir)/applications
  5. Graphics_in_files = inkscape.desktop.in
  6. Graphics_DATA = $(Graphics_in_files:.desktop.in=.desktop)
  7. @INTLTOOL_DESKTOP_RULE@
  8. ## dist-hook:
  9. ## mkdir $(distdir)/samples
  10. ## cp $(srcdir)/samples/*svg $(distdir)/samples
  11. ## cp $(srcdir)/samples/*png $(distdir)/samples
  12. ## cp $(srcdir)/AUTHORS $(distdir)
  13. ## cp $(srcdir)/NEWS $(distdir)
  14. man_MANS = inkscape.1 \
  15. inkview.1
  16. EXTRA_DIST = \
  17. acinclude.m4 \
  18. fix-roff-punct \
  19. intltool-extract.in \
  20. intltool-merge.in \
  21. intltool-update.in \
  22. mkinstalldirs \
  23. $(Graphics_in_files) \
  24. po/check-markup \
  25. utf8-to-roff \
  26. inkscape.1 \
  27. inkscape.fr.1 \
  28. inkscape.pod \
  29. inkscape.fr.pod \
  30. inkscape.spec.in \
  31. inkscape.spec \
  32. Info.plist.in \
  33. Info.plist \
  34. buildtool.cpp build.xml \
  35. README README.ca.txt README.de.txt README.es.txt README.fr.txt README.it.txt README.osx.txt README.pt_BR.txt README.sk.txt README.sr.txt \
  36. TRANSLATORS \
  37. inkscape.png \
  38. inkscape.ico \
  39. mingwenv.bat \
  40. src/helper/sp-marshal.cpp.mingw src/helper/sp-marshal.h.mingw \
  41. src/2geom/angle.h \
  42. src/inkscape-manifest.xml src/inkview-manifest.xml \
  43. cxxtest/COPYING \
  44. cxxtest/cxxtestgen.pl \
  45. cxxtest/cxxtestgen.py \
  46. cxxtest/cxxtest/Descriptions.cpp \
  47. cxxtest/cxxtest/Descriptions.h \
  48. cxxtest/cxxtest/DummyDescriptions.cpp \
  49. cxxtest/cxxtest/DummyDescriptions.h \
  50. cxxtest/cxxtest/ErrorFormatter.h \
  51. cxxtest/cxxtest/ErrorPrinter.h \
  52. cxxtest/cxxtest/Flags.h \
  53. cxxtest/cxxtest/GlobalFixture.cpp \
  54. cxxtest/cxxtest/GlobalFixture.h \
  55. cxxtest/cxxtest/Gui.h \
  56. cxxtest/cxxtest/LinkedList.cpp \
  57. cxxtest/cxxtest/LinkedList.h \
  58. cxxtest/cxxtest/Mock.h \
  59. cxxtest/cxxtest/ParenPrinter.h \
  60. cxxtest/cxxtest/QtGui.h \
  61. cxxtest/cxxtest/RealDescriptions.cpp \
  62. cxxtest/cxxtest/RealDescriptions.h \
  63. cxxtest/cxxtest/Root.cpp \
  64. cxxtest/cxxtest/SelfTest.h \
  65. cxxtest/cxxtest/StdHeaders.h \
  66. cxxtest/cxxtest/StdValueTraits.h \
  67. cxxtest/cxxtest/StdioFilePrinter.h \
  68. cxxtest/cxxtest/StdioPrinter.h \
  69. cxxtest/cxxtest/TeeListener.h \
  70. cxxtest/cxxtest/TestListener.h \
  71. cxxtest/cxxtest/TestRunner.h \
  72. cxxtest/cxxtest/TestSuite.cpp \
  73. cxxtest/cxxtest/TestSuite.h \
  74. cxxtest/cxxtest/TestTracker.cpp \
  75. cxxtest/cxxtest/TestTracker.h \
  76. cxxtest/cxxtest/ValueTraits.cpp \
  77. cxxtest/cxxtest/ValueTraits.h \
  78. cxxtest/cxxtest/Win32Gui.h \
  79. cxxtest/cxxtest/X11Gui.h \
  80. cxxtest/cxxtest/YesNoRunner.h \
  81. packaging/autopackage/default.apspec.in \
  82. packaging/macosx/dmg_background.png \
  83. packaging/macosx/inkscape.ds_store \
  84. packaging/macosx/osx-app.sh \
  85. packaging/macosx/osx-dmg.sh \
  86. packaging/macosx/osx-build.sh \
  87. packaging/macosx/Resources/MenuBar.nib/classes.nib \
  88. packaging/macosx/Resources/MenuBar.nib/info.nib \
  89. packaging/macosx/Resources/MenuBar.nib/objects.xib \
  90. packaging/macosx/Resources/application-gimp-gradient.icns \
  91. packaging/macosx/Resources/application-vnd.ms.xaml.icns \
  92. packaging/macosx/Resources/image-vnd.sk1.icns \
  93. packaging/macosx/Resources/application-illustrator.icns \
  94. packaging/macosx/Resources/application-vnd.corel-draw.icns \
  95. packaging/macosx/Resources/image-x-eps.icns \
  96. packaging/macosx/Resources/Inkscape.icns \
  97. packaging/macosx/Resources/image-vnd.dxf.icns \
  98. packaging/macosx/Resources/image-svg+xml-compressed.icns \
  99. packaging/macosx/Resources/application-pdf.icns \
  100. packaging/macosx/Resources/application-vnd.corel-draw-template.icns \
  101. packaging/macosx/Resources/application-vnd.corel-draw-compressed.icns \
  102. packaging/macosx/Resources/image-svg+xml.icns \
  103. packaging/macosx/Resources/image-vnd.windows-metafile.icns \
  104. packaging/macosx/Resources/image-x-ps.icns \
  105. packaging/macosx/Resources/application-vnd.wordperfect-graphic.icns \
  106. packaging/macosx/Resources/application-illustrator-svg.icns \
  107. packaging/macosx/Resources/openDoc \
  108. packaging/macosx/Resources/script \
  109. packaging/macosx/Resources/ProgressWindow.nib/classes.nib \
  110. packaging/macosx/Resources/ProgressWindow.nib/info.nib \
  111. packaging/macosx/Resources/ProgressWindow.nib/objects.xib \
  112. packaging/macosx/Resources/bin/getdisplay.sh \
  113. packaging/macosx/Resources/bin/inkscape \
  114. packaging/macosx/Resources/etc/fonts/fonts.conf \
  115. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc \
  116. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png \
  117. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png \
  118. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png \
  119. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png \
  120. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png \
  121. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png \
  122. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh \
  123. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png \
  124. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png \
  125. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png \
  126. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png \
  127. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh \
  128. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png \
  129. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png \
  130. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png \
  131. packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png \
  132. packaging/macosx/ScriptExec/English.lproj/main.nib/classes.nib \
  133. packaging/macosx/ScriptExec/English.lproj/main.nib/info.nib \
  134. packaging/macosx/ScriptExec/English.lproj/main.nib/objects.xib \
  135. packaging/macosx/ScriptExec/English.lproj/InfoPlist.strings \
  136. packaging/macosx/ScriptExec/Info.plist \
  137. packaging/macosx/ScriptExec/ScriptExec_Prefix.pch \
  138. packaging/macosx/ScriptExec/main.c \
  139. packaging/macosx/ScriptExec/openDoc \
  140. packaging/macosx/ScriptExec/script \
  141. packaging/macosx/ScriptExec/version.plist \
  142. packaging/macosx/ScriptExec/MenuBar.nib/classes.nib \
  143. packaging/macosx/ScriptExec/MenuBar.nib/info.nib \
  144. packaging/macosx/ScriptExec/MenuBar.nib/objects.xib \
  145. packaging/macosx/ScriptExec/ScriptExec.xcode/project.pbxproj \
  146. packaging/macosx/ScriptExec/ScriptExec.xcodeproj/project.pbxproj \
  147. packaging/win32/inkscape.nsi \
  148. packaging/win32/inkscape.nsi.uninstall \
  149. packaging/win32/languages/Breton.nsh \
  150. packaging/win32/languages/Catalan.nsh \
  151. packaging/win32/languages/Czech.nsh \
  152. packaging/win32/languages/Dutch.nsh \
  153. packaging/win32/languages/English.nsh \
  154. packaging/win32/languages/Finnish.nsh \
  155. packaging/win32/languages/French.nsh \
  156. packaging/win32/languages/Galician.nsh \
  157. packaging/win32/languages/German.nsh \
  158. packaging/win32/languages/Indonesian.nsh \
  159. packaging/win32/languages/Italian.nsh \
  160. packaging/win32/languages/Japanese.nsh \
  161. packaging/win32/languages/Polish.nsh \
  162. packaging/win32/languages/Romanian.nsh \
  163. packaging/win32/languages/Russian.nsh \
  164. packaging/win32/languages/Slovak.nsh \
  165. packaging/win32/languages/Slovenian.nsh \
  166. packaging/win32/languages/Spanish.nsh \
  167. packaging/win32/languages/SimpChinese.nsh \
  168. packaging/win32/languages/TradChinese.nsh \
  169. packaging/win32/languages/Ukrainian.nsh \
  170. packaging/win32/header.bmp \
  171. packaging/win32/header.svg \
  172. packaging/win32/AdvUninstLog.nsh \
  173. packaging/win32/AdvUninstLog.txt \
  174. packaging/win32/ifexist.nsh \
  175. packaging/win32/md5dll.dll \
  176. packaging/win32/md5dll.txt \
  177. packaging/win32/messagebox.dll \
  178. packaging/win32/MessageBox.txt \
  179. packaging/win32/RequireLatestNSIS.nsh \
  180. packaging/win32/VersionCompleteXXXX.nsh \
  181. packaging/win32/welcomefinish.bmp \
  182. packaging/win32/welcomefinish.svg \
  183. packaging/win32/portable/help.html \
  184. packaging/win32/portable/readme.packaging.txt \
  185. packaging/win32/portable/App/readme.txt \
  186. packaging/win32/portable/App/AppInfo/appicon.ico \
  187. packaging/win32/portable/App/AppInfo/appicon_16.png \
  188. packaging/win32/portable/App/AppInfo/appicon_32.png \
  189. packaging/win32/portable/App/AppInfo/appinfo.ini \
  190. packaging/win32/portable/App/AppInfo/installer.ini \
  191. packaging/win32/portable/Other/Help/images/donation_button.png \
  192. packaging/win32/portable/Other/Help/images/favicon.ico \
  193. packaging/win32/portable/Other/Help/images/help_background_footer.png \
  194. packaging/win32/portable/Other/Help/images/help_background_header.png \
  195. packaging/win32/portable/Other/Help/images/help_logo_top.png \
  196. packaging/win32/portable/Other/Source/InkscapePortable.ini \
  197. packaging/win32/portable/Other/Source/InkscapePortable.jpg \
  198. packaging/win32/portable/Other/Source/InkscapePortable.nsi \
  199. packaging/win32/portable/Other/Source/License.txt \
  200. packaging/win32/portable/Other/Source/PortableApps.comInstallerCustom.nsh \
  201. packaging/win32/portable/Other/Source/PortableApps.comLauncherLANG_ENGLISH.nsh \
  202. packaging/win32/portable/Other/Source/Readme.txt \
  203. packaging/win32/portable/Other/Source/ReplaceInFileWithTextReplace.nsh \
  204. po/inkscape.pot \
  205. po/update_po_files.sh \
  206. src/inkscape.rc src/inkview.rc
  207. # We want the built inkscape.1 to go in the distributed .tar.gz so
  208. # that .tar.gz users don't need a full perl distribution to get a man
  209. # page.
  210. DISTCLEANFILES = inkscape.desktop \
  211. intltool-extract \
  212. intltool-merge \
  213. intltool-update
  214. #ACLOCAL_AMFLAGS = -I m4
  215. SUFFIXES = .pod .1
  216. inkscape.1 inkscape.fr.1: fix-roff-punct Makefile.am AUTHORS utf8-to-roff
  217. .pod.1:
  218. set -e; \
  219. d=`sed -n 's,/,-,g;s,.*\$$[D]ate: \(..........\).*,\1,p' $<`; \
  220. pod2man $< \
  221. | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$$d"'" "Inkscape-$(VERSION)" "Inkscape"/' \
  222. | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } <FOO>) . "\n"; }' \
  223. | perl $(srcdir)/fix-roff-punct \
  224. | perl -CI $(srcdir)/utf8-to-roff \
  225. > tmp.$$$$ \
  226. && mv -f tmp.$$$$ $@
  227. # man 7 groff_char for further remarks on charset encoding for man pages.
  228. po/inkscape.pot:
  229. (cd $(srcdir)/po ; intltool-update --pot --output-file=$(distdir)/po/inkscape.pot)
  230. install-data-local: inkscape.fr.1
  231. $(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1
  232. $(INSTALL_DATA) `if [ -f inkscape.fr.1 ]; then :; else echo $(srcdir)/;fi`inkscape.fr.1 $(DESTDIR)$(mandir)/fr/man1/inkscape.1
  233. #.PHONY: warn_markup
  234. noinst_DATA = warn_markup
  235. warn_markup:
  236. @if perl $(srcdir)/po/check-markup $(srcdir)/po/*.po; [ $$? = 1 ]; then \
  237. echo "WARNING: Bad markup found in translations. Please consider fixing the above problems." >&2; \
  238. fi
  239. .PHONY: check_markup
  240. check_DATA = check_markup
  241. check_markup:
  242. perl $(srcdir)/po/check-markup $(srcdir)/po/*.po || [ $$? = 127 ]
  243. # # `make check' probably shouldn't require perl to be installed, hence ignoring 127.
  244. distcheck-hook:
  245. perl $(srcdir)/po/check-markup $(srcdir)/po/*.po
  246. test-check-markup:
  247. if perl -e 42; then \
  248. perl $(srcdir)/po/check-markup $(srcdir)/po/bad.po.test 2>&1 \
  249. | diff $(srcdir)/po/bad.po.test.exp -; \
  250. fi