marked stable
[synfig.git] / synfig-core / tags / stable / Makefile.am
1 # $Header: /opt/voria/cvs/sinfg/Makefile.am,v 1.5 2005/03/24 21:07:24 darco Exp $
2
3 #AUTOMAKE_OPTIONS=dist-zip dist-shar dist-bzip2
4 AUTOMAKE_OPTIONS=dist-zip dist-shar
5
6 MAINTAINERCLEANFILES=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@-@VERSION@.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
7
8
9 SUBDIRS=libltdl src
10
11 # Install the pkg-config file:
12 pkgconfigdir = $(libdir)/pkgconfig
13 pkgconfig_DATA = @PACKAGE_TARNAME@.pc
14
15 bin_SCRIPTS=sinfg-config
16
17 EXTRA_DIST=bootstrap config/depcomp config/sinfg.m4 config/cxx_macros.m4 sinfg.pbproj/config.h sinfg.pbproj/project.pbxproj @PACKAGE_TARNAME@-@VERSION@.spec config/project.spec.in config/build.cfg sinfg.kdevprj sinfg-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
18
19 CVS=cvs
20
21 GREP=grep
22
23 PRINTF=printf
24
25 SH=sh
26
27 DOXYGEN=doxygen
28
29 stats:
30         -@echo
31         -@echo  -- Stats
32         -@echo
33         -@$(PRINTF) "Total lines: "
34         -@wc -l $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total
35         -@$(PRINTF) "Total size: "
36         -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total
37         -@echo 
38
39 tagstable:
40         $(CVS) tag -F stable
41
42 tagrelease:
43         $(CVS) tag -F @PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
44
45 listfixmes:
46         -@echo
47         -@echo  -- List of pending FIXMEs
48         -@echo
49         -@$(GREP) -e FIXME -e "\\fixme" -n $(shell find $(top_srcdir) -name '*.[ch]*')
50         -@echo
51
52 listhacks:
53         -@echo
54         -@echo  -- List of pending HACKs
55         -@echo
56         -@$(GREP) -e HACK -e "\\hack" -n $(shell find $(top_srcdir) -name '*.[ch]*')
57         -@echo
58
59 listtodos:
60         -@echo
61         -@echo  -- List of pending TODOs
62         -@echo
63         -@$(GREP) -e TODO -e "\\todo" -n $(shell find $(top_srcdir) -name '*.[ch]*')
64         -@echo
65
66 listoptimizes:
67         -@echo
68         -@echo  -- List of pending optimizations
69         -@echo
70         -@$(GREP) -e OPTIMIZE -e "\\optimize" -n $(shell find $(top_srcdir) -name '*.[ch]*')
71         -@echo
72
73 listwritemes:
74         -@echo
75         -@echo  -- List of pending WRITEMEs
76         -@echo
77         -@$(GREP) -e WRITEME -e "\\writeme" -n $(shell find $(top_srcdir) -name '*.[ch]*')
78         -@echo
79
80 install-bin:
81         make -C src/sinfg install-libLTLIBRARIES
82
83 win32inst.nsi: $(srcdir)/win32inst.nsi.in
84         ./config.status win32inst.nsi
85         
86 installer: all win32inst.nsi
87         makensis win32inst.nsi
88
89 run: check
90
91 $(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
92         $(srcdir)/bootstrap
93
94 .doc_stamp: doxygen.cfg
95         $(DOXYGEN) doxygen.cfg
96         touch .doc_stamp
97
98 benchmark:
99         sinfg -b -t null -q --time 0 $(srcdir)/examples/*.sif
100
101 html: .doc_stamp
102
103 rtf: .doc_stamp
104
105 docs: html
106
107 .PHONY: stats tagstable tagrelease listfixmes listhacks check docs pdf html rtf