Makefile.am
author James Bowes <jbowes@redhat.com>
Wed Jul 09 10:11:13 2008 -0400 (2008-07-09)
changeset 318 829d6711b316
child 323 3b24a0bd41ee
permissions -rw-r--r--
Use strings to identify section types in the on-disk repo format.

Previously, a given razor file type had a fixed number of sections in a
fixed order, identified by an integer type. Now, sections are identified
by a named string (stored in a string pool after the section lists).

This will allow for razor files to contain arbitrary sections.

For bonus points, also drop the 4k section alignment and change the
magic byte string to "RZDB".

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