Makefile.am 1.52 KB
Newer Older
1 2
NULL =

3
SUBDIRS = libwnck doc po
Havoc Pennington's avatar
Havoc Pennington committed
4

5
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
6

7 8
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection

Havoc Pennington's avatar
Havoc Pennington committed
9
pkgconfigdir = $(libdir)/pkgconfig
10
pkgconfig_DATA = libwnck-3.0.pc
Havoc Pennington's avatar
Havoc Pennington committed
11

Vincent Untz's avatar
Vincent Untz committed
12
EXTRA_DIST = \
Vincent Untz's avatar
Vincent Untz committed
13
	HACKING		\
14
	MAINTAINERS
Vincent Untz's avatar
Vincent Untz committed
15

16
MAINTAINERCLEANFILES = \
17 18 19 20
	$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
	$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
	$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
	`find "$(srcdir)/m4" -type f -name "*.m4" -print` \
21
	$(srcdir)/ABOUT-NLS \
22
	$(srcdir)/INSTALL \
23
	$(srcdir)/build-aux/config.rpath \
24
	$(srcdir)/config.h.in~ \
25
	$(srcdir)/configure \
26
	$(srcdir)/gtk-doc.make \
27 28 29 30 31 32 33 34 35 36 37
	$(srcdir)/po/Makefile.in.in \
	$(srcdir)/po/Makevars.template \
	$(srcdir)/po/Rules-quot \
	$(srcdir)/po/boldquot.sed \
	$(srcdir)/po/en@boldquot.header \
	$(srcdir)/po/en@quot.header \
	$(srcdir)/po/libwnck-3.0.pot \
	$(srcdir)/po/insert-header.sin \
	$(srcdir)/po/quot.sed \
	$(srcdir)/po/remove-potcdate.sin \
	$(srcdir)/po/stamp-po \
38
	$(NULL)
39

40 41 42 43 44 45 46 47 48 49 50 51 52
CHANGELOG_GIT_RANGE = LIBWNCK_2_26_1..
dist-hook:
	$(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
	  ( echo '# Generated by Makefile. Do not edit.'; echo; \
	    GIT_DIR="$(top_srcdir)/.git" ./missing --run \
	    git log $(CHANGELOG_GIT_RANGE) --no-color -M -C --name-status ) \
	  > ChangeLog.tmp \
	  && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
	  || ( rm -f ChangeLog.tmp ; echo Failed to generate ChangeLog >&2 ); \
	else \
	  echo A git checkout is required to generate ChangeLog >&2; \
	fi

53
GITIGNOREFILES = $(PACKAGE)-\*.tar.{gz,bz2,xz}
54
-include $(top_srcdir)/git.mk