Use the 2009 key
[vlc.git] / doc / Makefile.am
1 NULL =
2
3 doc_DATA = \
4         bugreport-howto.txt \
5         fortunes.txt \
6         intf-cdda.txt \
7         intf-vcd.txt \
8         $(NULL)
9
10 CHANGELOGS = \
11         ChangeLog-1999 \
12         ChangeLog-2000 \
13         ChangeLog-2001 \
14         ChangeLog-2002 \
15         ChangeLog-2003 \
16         ChangeLog-2004 \
17         ChangeLog-2005 \
18         ChangeLog-2006 \
19         ChangeLog-2007 \
20         ChangeLog-2008 \
21         ChangeLog-2009 \
22         $(NULL)
23
24 man1_MANS = \
25            vlc.1 \
26            vlc-wrapper.1 \
27            vlc-config.1
28
29 EXTRA_DIST = \
30         $(CHANGELOGS) \
31         $(man1_MANS) \
32         bugreport-howto.txt \
33         fortunes.txt \
34         intf-cdda.txt \
35         intf-vcd.txt \
36         release-howto.txt \
37         arm-crosscompile-howto.sgml \
38         Doxyfile.in \
39         Configure.help \
40         lirc/example.lircrc \
41         skins/skins-howto.txt \
42         skins/events-howto.txt \
43         skins/curve_maker/Bezier.bas \
44         skins/curve_maker/Bezier.frm \
45         skins/curve_maker/Bezier.frx \
46         skins/curve_maker/bezier.vbp \
47         skins/curve_maker/Bezier.vbw \
48         strings.txt \
49         translations.txt \
50         win32/Cross-Compile-Howto.txt \
51         demo.sh \
52         $(NULL)
53
54 DISTCLEANFILES = $(CHANGELOGS) Doxyfile
55
56 Doxyfile: Doxyfile.in $(top_builddir)/config.status
57         cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@
58
59 doc: Doxyfile
60         doxygen
61
62 $(CHANGELOGS): Makefile.am
63         if test -d "$(top_srcdir)/.git"; then \
64                 y="$@"; y="$${y##ChangeLog-}" ; \
65                 git --git-dir="$(top_srcdir)/.git" log \
66                         --since="$$y-01-01" \
67                         --until="$$y-12-31 23:00:00 -0100" \
68                         > "$@" ; \
69         fi
70
71 # This one needs to be rebuilt all the time :)
72 .PHONY: ChangeLog-2009 changelogs doc
73
74 changelogs: $(CHANGELOGS)
75
76 #distclean-hook:
77 #       test "$(srcdir)" = "$(builddir)" || rm -f -- $(CHANGELOGS)