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@
77 -$(SVN) delete $(SVN_REPOSITORY)/tags/stable -m "Stable Tag: Removing old tag"
78 $(SVN) copy $(top_srcdir) $(SVN_REPOSITORY)/tags/stable -m "Stable Tag: Copying everything over"
81 $(SVN) copy $(top_srcdir) $(SVN_REPOSITORY)/tags/$(TAG) -m "Release $(TAG)"
84 ../autobuild/git2cl > ChangeLog
90 -@$(PRINTF) "Total lines: "
91 -@wc -l $(shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec) | $(GREP) total
92 -@$(PRINTF) "Total size: "
93 -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec) | $(GREP) total
98 -@echo -- List of pending FIXMEs
100 -@$(GREP) FIXME -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
105 -@echo -- List of pending HACKs
107 -@$(GREP) HACK -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
112 .doc_stamp: doxygen.cfg
113 $(DOXYGEN) doxygen.cfg
116 package-win32: all win32inst.nsi
117 convert images/installer_logo.png bmp3:images/installer_logo.bmp
118 make -C images sif_icon.ico synfig_icon.ico
119 grep -v -e 'installer_logo' -e 'sif_icon' images/images.nsh >images/images.nsh.tmp
120 grep -v -e 'installer_logo' -e 'sif_icon' images/unimages.nsh >images/unimages.nsh.tmp
121 mv -f images/images.nsh.tmp images/images.nsh
122 mv -f images/unimages.nsh.tmp images/unimages.nsh
123 makensis win32inst.nsi
125 package-osx: all pkg-info/macosx/synfig-studio.info
126 [ -d pkg_root ] && $(RMDIR) pkg_root || true
127 convert images/installer_logo_osx.png $(srcdir)/pkg-info/macosx/studio-resources/background.tif
128 make install prefix="`pwd`/pkg_root"
129 $(srcdir)/config/package pkg_root pkg-info/macosx/synfig-studio.info -r $(srcdir)/pkg-info/macosx/studio-resources
131 package: package-win32
144 .PHONY: stats tagstable tagrelease listfixmes listhacks check docs pdf html rtf