Code

fix bug #1568462 boolean operation remove mask/clip-path
[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 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         fix-roff-punct  \
28         intltool-extract.in     \
29         intltool-merge.in       \
30         intltool-update.in      \
31         mkinstalldirs           \
32         $(Graphics_in_files)    \
33         po/check-markup \
34         utf8-to-roff \
35         inkscape.1              \
36         inkscape.fr.1           \
37         inkscape.pod            \
38         inkscape.fr.pod         \
39         inkscape.spec.in        \
40         inkscape.spec           \
41         Info.plist.in   \
42         Info.plist              \
43         inkscape.nsi            \
44         config.h.mingw Makefile.mingw Makefile.mingw.common mingwenv.bat        \
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 inkscape16.ico inkscape32-16.ico inkscape32.ico inkscape64.ico \
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         debian/changelog \
89         debian/compat   \
90         debian/control \
91         debian/copyright        \
92         debian/dirs     \
93         debian/docs     \
94         debian/inkscape.applications    \
95         debian/inkscape.menu    \
96         debian/inkscape.xpm     \
97         debian/mime     \
98         debian/rules    \
99         packaging/autopackage/default.apspec.in \
100         packaging/osx-app.sh    \
101         packaging/macosx/dmg_background.png     \
102         packaging/macosx/inkscape.ds_store      \
103         packaging/macosx/osx-dmg.sh     \
104         packaging/macosx/Resources/MenuBar.nib/classes.nib      \
105         packaging/macosx/Resources/MenuBar.nib/info.nib \
106         packaging/macosx/Resources/MenuBar.nib/objects.xib      \
107         packaging/macosx/Resources/EPS.icns     \
108         packaging/macosx/Resources/EPSI.icns    \
109         packaging/macosx/Resources/Inkscape.icns        \
110         packaging/macosx/Resources/SVG_plain.icns       \
111         packaging/macosx/Resources/inkscape_svg.icns    \
112         packaging/macosx/Resources/openDoc      \
113         packaging/macosx/Resources/postscript.icns      \
114         packaging/macosx/Resources/script       \
115         packaging/macosx/Resources/ProgressWindow.nib/classes.nib       \
116         packaging/macosx/Resources/ProgressWindow.nib/info.nib  \
117         packaging/macosx/Resources/ProgressWindow.nib/objects.xib       \
118         packaging/macosx/Resources/bin/getdisplay.sh    \
119         packaging/macosx/Resources/bin/inkscape \
120         packaging/macosx/Resources/etc/fonts/fonts.conf \
121         packaging/macosx/ScriptExec/English.lproj/main.nib/classes.nib  \
122         packaging/macosx/ScriptExec/English.lproj/main.nib/info.nib     \
123         packaging/macosx/ScriptExec/English.lproj/main.nib/objects.xib  \
124         packaging/macosx/ScriptExec/English.lproj/InfoPlist.strings     \
125         packaging/macosx/ScriptExec/Info.plist  \
126         packaging/macosx/ScriptExec/ScriptExec_Prefix.pch       \
127         packaging/macosx/ScriptExec/main.c      \
128         packaging/macosx/ScriptExec/openDoc     \
129         packaging/macosx/ScriptExec/script      \
130         packaging/macosx/ScriptExec/version.plist       \
131         packaging/macosx/ScriptExec/MenuBar.nib/classes.nib     \
132         packaging/macosx/ScriptExec/MenuBar.nib/info.nib        \
133         packaging/macosx/ScriptExec/MenuBar.nib/objects.xib     \
134         packaging/macosx/ScriptExec/ScriptExec.xcode/project.pbxproj    \
135         packaging/macosx/ScriptExec/ScriptExec.xcodeproj/project.pbxproj \
136         packaging/win32/inkscape.nsi    \
137         packaging/win32/inkscape.nsi.uninstall  \
138         packaging/win32/catalan.nsh     \
139         packaging/win32/czech.nsh       \
140         packaging/win32/english.nsh     \
141         packaging/win32/french.nsh      \
142         packaging/win32/italian.nsh     \
143         packaging/win32/polish.nsh      \
144         packaging/win32/german.nsh      \
145         packaging/win32/slovak.nsh      \
146         packaging/win32/spanish.nsh     \
147         packaging/win32/header.bmp      \
148         po/Makefile.mingw \
149         po/inkscape.pot \
150         po/update_po_files.sh \
151         src/Makefile.mingw src/inkscape_version.h.mingw src/inkscape.rc src/makedef.pl \
152         src/helper/sp-marshal.h.mingw src/helper/sp-marshal.cpp.mingw
154 # Note: it isn't clear that debian/* belongs in the tar file:
155 # tarfile users should be able to use the official Debian packages.
156 # They were added to EXTRA_DIST in v1.5, in response to a message on
157 # inkscape-devel from "Carlos Ingelmo <carlsalam@te...>" on 2003-11-12 01:35.
159 # We want the built inkscape.1 to go in the distributed .tar.gz so
160 # that .tar.gz users don't need a full perl distribution to get a man
161 # page.
163 DISTCLEANFILES = inkscape.desktop \
164                  intltool-extract \
165                  intltool-merge \
166                  intltool-update
168 #ACLOCAL_AMFLAGS = -I m4
170 SUFFIXES = .pod .1
171 inkscape.1 inkscape.fr.1: fix-roff-punct Makefile.am AUTHORS utf8-to-roff
172 .pod.1:
173         set -e; \
174         d=`sed -n 's,/,-,g;s,.*\$$[D]ate: \(..........\).*,\1,p' $<`; \
175         pod2man $< \
176           | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$$d"'" "Inkscape-$(VERSION)" "Inkscape"/' \
177           | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } <FOO>) . "\n"; }' \
178           | perl $(srcdir)/fix-roff-punct \
179           | perl -CI $(srcdir)/utf8-to-roff     \
180           > tmp.$$$$ \
181          && mv -f tmp.$$$$ $@
182 # man 7 groff_char for further remarks on charset encoding for man pages.
184 po/inkscape.pot:
185         (cd po ; intltool-update --pot)
187 install-data-local: inkscape.fr.1
188         $(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1
189         $(INSTALL_DATA) `if [ -f inkscape.fr.1 ]; then :; else echo $(srcdir)/;fi`inkscape.fr.1 $(DESTDIR)$(mandir)/fr/man1/inkscape.1
191 .PHONY: warn_markup
192 noinst_DATA = warn_markup
193 warn_markup:
194         @if perl $(srcdir)/po/check-markup $(srcdir)/po/*.po; [ $$? = 1 ]; then \
195           echo "WARNING: Bad markup found in translations.  Please consider fixing the above problems." >&2; \
196         fi
198 .PHONY: check_markup
199 check_DATA = check_markup
200 check_markup:
201         perl $(srcdir)/po/check-markup $(srcdir)/po/*.po || [ $$? = 127 ]
202 #       # `make check' probably shouldn't require perl to be installed, hence ignoring 127.
204 distcheck-hook:
205         perl $(srcdir)/po/check-markup $(srcdir)/po/*.po
207 test-check-markup:
208         if perl -e 42; then \
209           perl $(srcdir)/po/check-markup $(srcdir)/po/bad.po.test 2>&1  \
210             | diff $(srcdir)/po/bad.po.test.exp -;      \
211         fi