Code

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