1 # $Header: /opt/voria/cvs/synfig/Makefile.am,v 1.5 2005/03/24 21:07:24 darco Exp $
3 MAINTAINERCLEANFILES=@PACKAGE_TARNAME@.pc.in @PACKAGE_TARNAME@.tar.gz doxygen.cfg config/config.guess config/config.sub config/ltmain.sh config/install-sh config/mkinstalldirs config/aclocal.m4 config/missing config/texinfo.tex config/depcomp aclocal.m4 config.h.in configure stamp-h.in Makefile.in config.log config.status .doc_stamp .DS_Store @PACKAGE_TARNAME@.spec include/etl_profile.h.in libltdl/COPYING.LIB libltdl/Makefile.in libltdl/acinclude.m4 libltdl/config-h.in libltdl/configure.in libltdl/ltdl.h libltdl/Makefile.am libltdl/README libltdl/aclocal.m4 libltdl/configure libltdl/ltdl.c libltdl/stamp-h.in
6 SUBDIRS=libltdl src examples
8 # Install the pkg-config file:
9 pkgconfigdir = $(libdir)/pkgconfig
10 pkgconfig_DATA = @PACKAGE_TARNAME@.pc
12 bin_SCRIPTS=synfig-config
14 EXTRA_DIST=TODO config/subs.m4 bootstrap config/package doc/hw-gfx-mapping.txt win32build.sh macosxbuild.sh win32inst.nsi.in COPYING config/depcomp config/synfig.m4 config/cxx_macros.m4 synfig.pbproj/config.h synfig.pbproj/project.pbxproj @PACKAGE_TARNAME@.spec config/project.spec.in config/build.cfg synfig.kdevprj synfig-config.in config/ETL.m4 config/doxygen.cfg.in doxygen.cfg config/pkgconfig.pc.in config/pkgconfig.m4 config/libxml++.m4 @PACKAGE_TARNAME@.pc.in pkg-info/macosx/core-resources/ReadMe.txt pkg-info/macosx/core-resources/Welcome.txt pkg-info/macosx/core-resources/install.sh
23 TAG=@PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
27 -$(SVN) delete $(SVN_REPOSITORY)/tags/stable -m "Stabe Tag: Removing old tag"
28 $(SVN) mkdir $(SVN_REPOSITORY)/tags/stable -m "Stable Tag: Creating new directory"
29 $(SVN) copy $(top_srcdir) $(SVN_REPOSITORY)/tags/stable -m "Stable Tag: Copying everyhting over"
32 $(SVN) mkdir $(SVN_REPOSITORY)/tags/$(TAG) -m "Release Tag: Making directory"
33 $(SVN) copy $(top_srcdir) $(SVN_REPOSITORY)/tags/$(TAG) -m "Release $(TAG)"
39 -@$(PRINTF) "Total lines: "
40 -@wc -l $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total
41 -@$(PRINTF) "Total size: "
42 -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total
46 # $(CVS) tag -F stable
49 # $(CVS) tag -F @PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
54 -@echo -- List of pending FIXMEs
56 -@$(GREP) -e FIXME -e "\\fixme" -n $(shell find $(top_srcdir) -name '*.[ch]*')
61 -@echo -- List of pending HACKs
63 -@$(GREP) -e HACK -e "\\hack" -n $(shell find $(top_srcdir) -name '*.[ch]*')
68 -@echo -- List of pending TODOs
70 -@$(GREP) -e TODO -e "\\todo" -n $(shell find $(top_srcdir) -name '*.[ch]*')
75 -@echo -- List of pending optimizations
77 -@$(GREP) -e OPTIMIZE -e "\\optimize" -n $(shell find $(top_srcdir) -name '*.[ch]*')
82 -@echo -- List of pending WRITEMEs
84 -@$(GREP) -e WRITEME -e "\\writeme" -n $(shell find $(top_srcdir) -name '*.[ch]*')
88 make -C src/synfig install-libLTLIBRARIES
90 win32inst.nsi: $(srcdir)/win32inst.nsi.in
91 ./config.status win32inst.nsi
93 pkg-info/macosx/synfig-core.info: $(srcdir)/pkg-info/macosx/synfig-core.info.in
94 ./config.status pkg-info/macosx/synfig-core.info
99 package: all win32inst.nsi
100 makensis win32inst.nsi
103 package: all pkg-info/macosx/synfig-core.info
104 [ -d pkg_root ] && $(RMDIR) pkg_root || true
105 make install-strip prefix="`pwd`/pkg_root"
106 $(srcdir)/config/package pkg_root pkg-info/macosx/synfig-core.info -r $(srcdir)/pkg-info/macosx/core-resources
112 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
115 .doc_stamp: doxygen.cfg
116 $(DOXYGEN) doxygen.cfg
120 synfig -b -t null -q --time 0 $(srcdir)/examples/*.sif
128 .PHONY: stats tagstable tagrelease listfixmes listhacks check docs pdf html rtf