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)"
85 svn2cl --include-rev || touch ChangeLog
91 -@$(PRINTF) "Total lines: "
92 -@wc -l $(shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec) | $(GREP) total
93 -@$(PRINTF) "Total size: "
94 -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*' | $(GREP) -v libavcodec) | $(GREP) total
99 -@echo -- List of pending FIXMEs
101 -@$(GREP) FIXME -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
106 -@echo -- List of pending HACKs
108 -@$(GREP) HACK -n $(shell find $(top_srcdir) -name '*.[ch]*' | grep -v svn)
113 .doc_stamp: doxygen.cfg
114 $(DOXYGEN) doxygen.cfg
117 package-win32: all win32inst.nsi
118 convert images/installer_logo.png bmp3:images/installer_logo.bmp
119 make -C images sif_icon.ico synfig_icon.ico
120 grep -v -e 'installer_logo' -e 'sif_icon' images/images.nsh >images/images.nsh.tmp
121 grep -v -e 'installer_logo' -e 'sif_icon' images/unimages.nsh >images/unimages.nsh.tmp
122 mv -f images/images.nsh.tmp images/images.nsh
123 mv -f images/unimages.nsh.tmp images/unimages.nsh
124 makensis win32inst.nsi
126 package-osx: all pkg-info/macosx/synfig-studio.info
127 [ -d pkg_root ] && $(RMDIR) pkg_root || true
128 convert images/installer_logo_osx.png $(srcdir)/pkg-info/macosx/studio-resources/background.tif
129 make install prefix="`pwd`/pkg_root"
130 $(srcdir)/config/package pkg_root pkg-info/macosx/synfig-studio.info -r $(srcdir)/pkg-info/macosx/studio-resources
132 package: package-win32
145 .PHONY: stats tagstable tagrelease listfixmes listhacks check docs pdf html rtf