Makefile.am
author Kristian H?gsberg <krh@redhat.com>
Mon Jun 16 22:32:39 2008 -0400 (2008-06-16)
changeset 243 f37f5f4a2403
child 323 3b24a0bd41ee
permissions -rw-r--r--
Fix a typo when creating the root path.
     1 ## Process this file with automake to produce Makefile.in
     2 
     3 SUBDIRS = data docs librazor src po
     4 
     5 # Creating ChangeLog from git log (taken from cairo/Makefile.am):
     6 ChangeLog: $(srcdir)/ChangeLog
     7 
     8 $(srcdir)/ChangeLog:
     9 	@if test -d "$(srcdir)/.git"; then \
    10 	  (cd "$(srcdir)" && \
    11 	  ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
    12 	  && mv -f $@.tmp $@ \
    13 	  || ($(RM) $@.tmp; \
    14 	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
    15 	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
    16 	else \
    17 	  test -f $@ || \
    18 	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
    19 	  echo A git checkout and git-log is required to generate this file >> $@); \
    20 	fi
    21 
    22 .PHONY: ChangeLog $(srcdir)/ChangeLog
    23 
    24 EXTRA_DIST = 			\
    25 	TODO	 		\
    26 	ChangeLog 		\
    27 	intltool-extract.in 	\
    28 	intltool-merge.in 	\
    29 	intltool-update.in
    30 
    31 DISTCLEANFILES = \
    32 	intltool-extract	\
    33 	intltool-merge		\
    34 	intltool-update
    35 
    36 clean-local :
    37 	rm -f *~
    38