2 ## Process this file with automake to produce Makefile.in
3 ##############################################################################
4 ## $Id: Makefile.am,v 1.10 2005-08-25 18:35:34 behdad Exp $
6 ## $Date: 2005-08-25 18:35:34 $
8 ## $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/Makefile.am,v $
9 ##############################################################################
11 ## The order of subdirs is important, don't change without a reason.
12 SUBDIRS = gen.tab charset lib bin doc test
14 EXTRA_DIST = bootstrap ChangeLog.old
16 pkgconfigdir = $(libdir)/pkgconfig
17 pkgconfig_DATA = @PACKAGE@.pc
19 BUILT_SOURCES = lib/fribidi-unicode-version.h
20 lib/fribidi-unicode-version.h:
21 (cd lib && $(MAKE) $(AM_MAKEFLAGS) fribidi-unicode-version.h)
23 MAINTAINERCLEANFILES = \
25 $(srcdir)/aclocal.m4 \
26 $(srcdir)/autoscan.log \
28 $(srcdir)/config.guess \
29 $(srcdir)/config.h.in \
30 $(srcdir)/config.sub \
31 $(srcdir)/configure.scan \
33 $(srcdir)/install-sh \
36 $(srcdir)/mkinstalldirs \
38 `find "$(srcdir)" -type f -name Makefile.in -print` \
39 `$(srcdir)/bootstrap --write-configure`
40 # The last line above is a horrible hack.
41 # GNU Coding Standards recommends that `make maintainer-clean' should not
42 # remove the configure script.
43 # We instead make configure call bootstrap.
45 # Indent all C source and header files, using indent(1):
47 indent: $(srcdir)/.indent.pro
49 find . -mindepth 2 -type f -name "*.[ch]" -print | \
50 xargs ./missing --run indent
55 # ChangeLog generation
59 $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
60 (GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \
61 git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \
62 && mv -f $@.tmp "$(srcdir)/ChangeLog" \
64 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
65 (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \
68 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
69 echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \
71 .PHONY: $(srcdir)/ChangeLog
73 -include $(top_srcdir)/git.mk