Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Thu Feb 09 20:45:27 2012 +0000 (2012-02-09)
changeset 418 33b825d3128d
parent 323 3b24a0bd41ee
child 455 df914f383f5c
permissions -rw-r--r--
Add transaction barriers
These allow packages to be installed and removed which have scripts
that depend on each other when atomic transactions are involved.
Note that yum supports pre, but not other requires flags. post will
need similar support to the post scripts themselves pulling in the
requires flags from the rpms. Likewise preun and postun will need
similar handling to those scrips since the requires flags will need
to be stored in the razor database.
     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