Use LinkableValueNode members functions when possible in the derived valuenodes.
[synfig.git] / synfig-studio / Makefile.am
1 # $Id$
2
3 MAINTAINERCLEANFILES = \
4         COPYING \
5         INSTALL \
6         config/ltmain.sh \
7         doxygen.cfg \
8         config/config.guess \
9         config/config.sub \
10         config/ltmain.sh \
11         config/install-sh \
12         config/mkinstalldirs \
13         config/aclocal.m4 \
14         config/missing \
15         config/texinfo.tex \
16         config/depcomp \
17         aclocal.m4 \
18         config.h.in \
19         configure \
20         stamp-h.in \
21         Makefile.in \
22         config.log \
23         config.status \
24         .doc_stamp \
25         .DS_Store
26
27 SUBDIRS = \
28         build_tools \
29         src \
30         images \
31         po
32
33 EXTRA_DIST = \
34         COPYING \
35         TODO \
36         m4/subs.m4 \
37         doxygen.cfg.in \
38         doxygen.cfg \
39         macosxbuild.sh \
40         win32build.sh \
41         win32inst.nsi.in \
42         config/package \
43         config/depcomp \
44         m4/cxx_macros.m4 \
45         m4/ETL.m4 \
46         ChangeLog.old \
47         synfigstudio.xml.in \
48         synfigstudio-thumbnailer.schemas.in
49
50
51 # Desktop entry
52 desktopdir = $(prefix)/share/applications
53 desktop_DATA = synfigstudio.desktop
54
55 # @INTLTOOL_DESKTOP_RULE@
56
57 mimedir              = $(prefix)/share/mime-info
58 mime_DATA            = synfigstudio.keys synfigstudio.mime
59
60 # Icon
61 icondir                 = $(datadir)/pixmaps
62 icon_DATA               = images/synfig_icon.png images/sif_icon.png
63
64 ACLOCAL_AMFLAGS=-I m4
65
66 GREP=grep
67 PRINTF=printf
68 SH=sh
69 DOXYGEN=doxygen
70 #SVN_REPOSITORY=@SVN_REPOSITORY@
71
72 SVN=svn
73 TAG=@PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
74
75 ChangeLog:
76         ../autobuild/git2cl > ChangeLog
77
78 stats:
79         -@echo
80         -@echo  -- Stats
81         -@echo
82         -@$(PRINTF) "Total lines: "
83         -@wc -l $(shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec) | $(GREP) total
84         -@$(PRINTF) "Total size: "
85         -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec) | $(GREP) total
86         -@echo 
87
88 listfixmes:
89         -@echo
90         -@echo  -- List of pending FIXMEs
91         -@echo
92         -@$(GREP) FIXME -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
93         -@echo
94
95 listhacks:
96         -@echo
97         -@echo  -- List of pending HACKs
98         -@echo
99         -@$(GREP) HACK -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
100         -@echo
101
102 run: check
103
104 .doc_stamp: doxygen.cfg
105         $(DOXYGEN) doxygen.cfg
106         touch .doc_stamp
107
108 package-win32: all win32inst.nsi
109         convert images/installer_logo.png bmp3:images/installer_logo.bmp
110         make -C images sif_icon.ico synfig_icon.ico
111         grep -v -e 'installer_logo' -e 'sif_icon' images/images.nsh >images/images.nsh.tmp
112         grep -v -e 'installer_logo' -e 'sif_icon' images/unimages.nsh >images/unimages.nsh.tmp
113         mv -f images/images.nsh.tmp images/images.nsh
114         mv -f images/unimages.nsh.tmp images/unimages.nsh
115         makensis win32inst.nsi
116
117 package-osx: all pkg-info/macosx/synfig-studio.info
118         [ -d pkg_root ] && $(RMDIR) pkg_root || true
119         convert images/installer_logo_osx.png $(srcdir)/pkg-info/macosx/studio-resources/background.tif
120         make install prefix="`pwd`/pkg_root"
121         $(srcdir)/config/package pkg_root pkg-info/macosx/synfig-studio.info -r $(srcdir)/pkg-info/macosx/studio-resources
122 if WIN32_PKG    
123 package: package-win32
124 else
125 if MACOSX_PKG
126 package: package-osx
127 endif
128 endif
129
130 html: .doc_stamp
131
132 rtf: .doc_stamp
133
134 docs: pdf html
135
136 .PHONY: stats listfixmes listhacks check docs pdf html rtf