Initial autotools support: not the project is fully independent
[adg-lua.git] / Makefile.am
blobbf633cb7bd3eb1693b1f74f60665b4f7d73ca0c8
1 include $(top_srcdir)/build/Makefile.am.common
3 ACLOCAL_AMFLAGS=                -I build
5 BUILT_SOURCES=                  ChangeLog
7 EXTRA_DIST=                     COPYING \
8                                 INSTALL \
9                                 NEWS \
10                                 README \
11                                 THANKS \
12                                 $(BUILT_SOURCES)
14 SUBDIRS=                        cpml \
15                                 adg \
16                                 examples
19 # Creating ChangeLog files from git log:
20 # idea stolen from cairo/build/Makefile.am.changelog
21 ChangeLog:
22         $(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
23           ( cd "$(srcdir)" && git log --stat > $@ ) ; \
24         else \
25           echo ' *WARN  A git checkout is required to generate $@' ; \
26           touch $@ ; \
27         fi