3 MAINTAINERCLEANFILES = \
12 config/mkinstalldirs \
48 synfigstudio-thumbnailer.schemas.in
52 desktopdir = $(prefix)/share/applications
53 desktop_DATA = synfigstudio.desktop
55 # @INTLTOOL_DESKTOP_RULE@
57 mimedir = $(prefix)/share/mime-info
58 mime_DATA = synfigstudio.keys synfigstudio.mime
61 icondir = $(datadir)/pixmaps
62 icon_DATA = images/synfig_icon.png images/sif_icon.png
70 #SVN_REPOSITORY=@SVN_REPOSITORY@
73 TAG=@PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
76 ../autobuild/git2cl > ChangeLog
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
90 -@echo -- List of pending FIXMEs
92 -@$(GREP) FIXME -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
97 -@echo -- List of pending HACKs
99 -@$(GREP) HACK -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
104 .doc_stamp: doxygen.cfg
105 $(DOXYGEN) doxygen.cfg
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
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
123 package: package-win32
136 .PHONY: stats listfixmes listhacks check docs pdf html rtf