Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Thu Jan 08 15:08:08 2009 +0000 (2009-01-08)
changeset 329 d675c5ac6d07
parent 241 c3eb520e2219
child 351 48b0adfe3059
permissions -rw-r--r--
Include winsock.h rather than arpa/inet.h on mingw platforms.
Also fix a trivial int/long mismatch.
     1 ## Process this file with automake to produce Makefile.in
     2 
     3 SUBDIRS = data docs gl librazor src 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