1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = src doc share po
5 appicondir = $(datadir)/pixmaps
6 appicon_DATA = inkscape.png
8 Graphicsdir = $(datadir)/applications
9 Graphics_in_files = inkscape.desktop.in
10 Graphics_DATA = $(Graphics_in_files:.desktop.in=.desktop)
11 @INTLTOOL_DESKTOP_RULE@
13 ## dist-hook:
14 ## mkdir $(distdir)/samples
15 ## cp $(srcdir)/samples/*svg $(distdir)/samples
16 ## cp $(srcdir)/samples/*png $(distdir)/samples
17 ## cp $(srcdir)/AUTHORS $(distdir)
18 ## cp $(srcdir)/NEWS $(distdir)
21 man_MANS = inkscape.1 \
22 inkview.1
24 EXTRA_DIST = \
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 inkscape.nsi \
42 config.h.mingw Makefile.mingw Makefile.mingw.common mingwenv.bat \
43 README README.ca.txt README.de.txt README.es.txt README.fr.txt README.it.txt \
44 HACKING.txt HACKING.de.txt HACKING.fr.txt HACKING.it.txt \
45 TRANSLATORS \
46 inkscape.png \
47 inkscape.ico inkscape16.ico inkscape32-16.ico inkscape32.ico inkscape64.ico \
48 cxxtest/COPYING \
49 cxxtest/cxxtestgen.pl \
50 cxxtest/cxxtestgen.py \
51 cxxtest/cxxtest/Descriptions.cpp \
52 cxxtest/cxxtest/Descriptions.h \
53 cxxtest/cxxtest/DummyDescriptions.cpp \
54 cxxtest/cxxtest/DummyDescriptions.h \
55 cxxtest/cxxtest/ErrorFormatter.h \
56 cxxtest/cxxtest/ErrorPrinter.h \
57 cxxtest/cxxtest/Flags.h \
58 cxxtest/cxxtest/GlobalFixture.cpp \
59 cxxtest/cxxtest/GlobalFixture.h \
60 cxxtest/cxxtest/Gui.h \
61 cxxtest/cxxtest/LinkedList.cpp \
62 cxxtest/cxxtest/LinkedList.h \
63 cxxtest/cxxtest/Mock.h \
64 cxxtest/cxxtest/ParenPrinter.h \
65 cxxtest/cxxtest/QtGui.h \
66 cxxtest/cxxtest/RealDescriptions.cpp \
67 cxxtest/cxxtest/RealDescriptions.h \
68 cxxtest/cxxtest/Root.cpp \
69 cxxtest/cxxtest/SelfTest.h \
70 cxxtest/cxxtest/StdHeaders.h \
71 cxxtest/cxxtest/StdValueTraits.h \
72 cxxtest/cxxtest/StdioFilePrinter.h \
73 cxxtest/cxxtest/StdioPrinter.h \
74 cxxtest/cxxtest/TeeListener.h \
75 cxxtest/cxxtest/TestListener.h \
76 cxxtest/cxxtest/TestRunner.h \
77 cxxtest/cxxtest/TestSuite.cpp \
78 cxxtest/cxxtest/TestSuite.h \
79 cxxtest/cxxtest/TestTracker.cpp \
80 cxxtest/cxxtest/TestTracker.h \
81 cxxtest/cxxtest/ValueTraits.cpp \
82 cxxtest/cxxtest/ValueTraits.h \
83 cxxtest/cxxtest/Win32Gui.h \
84 cxxtest/cxxtest/X11Gui.h \
85 cxxtest/cxxtest/YesNoRunner.h \
86 debian/changelog \
87 debian/compat \
88 debian/control \
89 debian/copyright \
90 debian/dirs \
91 debian/docs \
92 debian/inkscape.applications \
93 debian/inkscape.menu \
94 debian/inkscape.xpm \
95 debian/mime \
96 debian/rules \
97 packaging/autopackage/default.apspec.in \
98 packaging/osx-app.sh \
99 packaging/macosx/Resources/MenuBar.nib/classes.nib \
100 packaging/macosx/Resources/MenuBar.nib/info.nib \
101 packaging/macosx/Resources/MenuBar.nib/objects.xib \
102 packaging/macosx/Resources/EPS.icns \
103 packaging/macosx/Resources/EPSI.icns \
104 packaging/macosx/Resources/Inkscape.icns \
105 packaging/macosx/Resources/SVG_plain.icns \
106 packaging/macosx/Resources/inkscape_svg.icns \
107 packaging/macosx/Resources/openDoc \
108 packaging/macosx/Resources/postscript.icns \
109 packaging/macosx/Resources/script \
110 packaging/macosx/Resources/ProgressWindow.nib/classes.nib \
111 packaging/macosx/Resources/ProgressWindow.nib/info.nib \
112 packaging/macosx/Resources/ProgressWindow.nib/objects.xib \
113 packaging/macosx/Resources/bin/getdisplay.sh \
114 packaging/macosx/Resources/bin/inkscape \
115 packaging/macosx/Resources/etc/fonts/fonts.conf \
116 packaging/macosx/ScriptExec/English.lproj/main.nib/classes.nib \
117 packaging/macosx/ScriptExec/English.lproj/main.nib/info.nib \
118 packaging/macosx/ScriptExec/English.lproj/main.nib/objects.xib \
119 packaging/macosx/ScriptExec/English.lproj/InfoPlist.strings \
120 packaging/macosx/ScriptExec/Info.plist \
121 packaging/macosx/ScriptExec/ScriptExec_Prefix.pch \
122 packaging/macosx/ScriptExec/main.c \
123 packaging/macosx/ScriptExec/openDoc \
124 packaging/macosx/ScriptExec/script \
125 packaging/macosx/ScriptExec/version.plist \
126 packaging/macosx/ScriptExec/MenuBar.nib/classes.nib \
127 packaging/macosx/ScriptExec/MenuBar.nib/info.nib \
128 packaging/macosx/ScriptExec/MenuBar.nib/objects.xib \
129 packaging/macosx/ScriptExec/ScriptExec.xcode/project.pbxproj \
130 packaging/macosx/ScriptExec/ScriptExec.xcodeproj/project.pbxproj \
131 packaging/win32/inkscape.nsi \
132 packaging/win32/inkscape.nsi.uninstall \
133 packaging/win32/catalan.nsh \
134 packaging/win32/czech.nsh \
135 packaging/win32/english.nsh \
136 packaging/win32/french.nsh \
137 packaging/win32/italian.nsh \
138 packaging/win32/polish.nsh \
139 packaging/win32/german.nsh \
140 packaging/win32/slovak.nsh \
141 packaging/win32/spanish.nsh \
142 packaging/win32/header.bmp \
143 po/Makefile.mingw \
144 po/inkscape.pot \
145 po/update_po_files.sh \
146 src/Makefile.mingw src/inkscape_version.h.mingw src/inkscape.rc src/makedef.pl \
147 src/helper/sp-marshal.h.mingw src/helper/sp-marshal.cpp.mingw
149 # Note: it isn't clear that debian/* belongs in the tar file:
150 # tarfile users should be able to use the official Debian packages.
151 # They were added to EXTRA_DIST in v1.5, in response to a message on
152 # inkscape-devel from "Carlos Ingelmo <carlsalam@te...>" on 2003-11-12 01:35.
154 # We want the built inkscape.1 to go in the distributed .tar.gz so
155 # that .tar.gz users don't need a full perl distribution to get a man
156 # page.
158 DISTCLEANFILES = inkscape.desktop \
159 intltool-extract \
160 intltool-merge \
161 intltool-update
163 #ACLOCAL_AMFLAGS = -I m4
165 SUFFIXES = .pod .1
166 inkscape.1 inkscape.fr.1: fix-roff-punct Makefile.am AUTHORS utf8-to-roff
167 .pod.1:
168 set -e; \
169 d=`sed -n 's,/,-,g;s,.*\$$[D]ate: \(..........\).*,\1,p' $<`; \
170 pod2man $< \
171 | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$$d"'" "Inkscape-$(VERSION)" "Inkscape"/' \
172 | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } <FOO>) . "\n"; }' \
173 | perl $(srcdir)/fix-roff-punct \
174 | perl -CI $(srcdir)/utf8-to-roff \
175 > tmp.$$$$ \
176 && mv -f tmp.$$$$ $@
177 # man 7 groff_char for further remarks on charset encoding for man pages.
179 po/inkscape.pot:
180 (cd po ; intltool-update --pot)
182 install-data-local: inkscape.fr.1
183 $(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1
184 $(INSTALL_DATA) `if [ -f inkscape.fr.1 ]; then :; else echo $(srcdir)/;fi`inkscape.fr.1 $(DESTDIR)$(mandir)/fr/man1/inkscape.1
186 .PHONY: warn_markup
187 noinst_DATA = warn_markup
188 warn_markup:
189 @if perl $(srcdir)/po/check-markup $(srcdir)/po/*.po; [ $$? = 1 ]; then \
190 echo "WARNING: Bad markup found in translations. Please consider fixing the above problems." >&2; \
191 fi
193 .PHONY: check_markup
194 check_DATA = check_markup
195 check_markup:
196 perl $(srcdir)/po/check-markup $(srcdir)/po/*.po || [ $$? = 127 ]
197 # # `make check' probably shouldn't require perl to be installed, hence ignoring 127.
199 distcheck-hook:
200 perl $(srcdir)/po/check-markup $(srcdir)/po/*.po
202 test-check-markup:
203 if perl -e 42; then \
204 perl $(srcdir)/po/check-markup $(srcdir)/po/bad.po.test 2>&1 \
205 | diff $(srcdir)/po/bad.po.test.exp -; \
206 fi