Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Wed Apr 29 17:00:01 2009 +0100 (2009-04-29)
changeset 361 2523d03a840e
parent 323 3b24a0bd41ee
child 455 df914f383f5c
permissions -rw-r--r--
Add support for preloading lua modules. This is useful both when
providing lua bindings to applications based on librazor and when
producing static binaries using librazor (where otherwise the lua
POSIX library would need to be included as an additional dynamic
object).
     1 ## Process this file with automake to produce Makefile.in
     2 
     3 SUBDIRS = data docs gl librazor src test po
     4 
     5 ACLOCAL_AMFLAGS = -I gl/m4
     6 
     7 # Creating ChangeLog from git log (taken from cairo/Makefile.am):
     8 ChangeLog: $(srcdir)/ChangeLog
     9 
    10 $(srcdir)/ChangeLog:
    11 	@if test -d "$(srcdir)/.git"; then \
    12 	  (cd "$(srcdir)" && \
    13 	  ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
    14 	  && mv -f $@.tmp $@ \
    15 	  || ($(RM) $@.tmp; \
    16 	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
    17 	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
    18 	else \
    19 	  test -f $@ || \
    20 	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
    21 	  echo A git checkout and git-log is required to generate this file >> $@); \
    22 	fi
    23 
    24 .PHONY: ChangeLog $(srcdir)/ChangeLog
    25 
    26 EXTRA_DIST = 			\
    27 	TODO	 		\
    28 	ChangeLog 		\
    29 	intltool-extract.in 	\
    30 	intltool-merge.in 	\
    31 	intltool-update.in
    32 
    33 DISTCLEANFILES = \
    34 	intltool-extract	\
    35 	intltool-merge		\
    36 	intltool-update
    37 
    38 clean-local :
    39 	rm -f *~
    40