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