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