Initial documentation infrastructure import
[platform/upstream/libgee.git] / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2 NULL =
3
4 if ENABLE_DOC
5 DOC_SUBDIR = \
6         doc \
7         $(NULL)
8 endif
9
10 SUBDIRS = \
11         gee \
12         tests \
13         $(DOC_SUBDIR) \
14         $(NULL)
15
16 pkgconfigdir = $(libdir)/pkgconfig
17 pkgconfig_DATA = gee-1.0.pc
18
19 dist-hook: gen-ChangeLog
20
21 gen_start_date = 2009-04-30
22 .PHONY: gen-ChangeLog
23 gen-ChangeLog:
24         if test -d .git; then                                           \
25           $(top_srcdir)/gitlog-to-changelog                             \
26             --since=$(gen_start_date) > $(distdir)/cl-t;                \
27           rm -f $(distdir)/ChangeLog;                                   \
28           mv $(distdir)/cl-t $(distdir)/ChangeLog;                      \
29         fi
30
31 EXTRA_DIST += \
32         ChangeLog.pre-0-1-5 \
33         gitlog-to-changelog \
34         MAINTAINERS \
35         gee-1.0.pc.in \
36         $(NULL)
37