Makefile.am 1.62 KB
Newer Older
Christian Persch's avatar
Christian Persch committed
1
NULL =
Noah Levitt's avatar
Noah Levitt committed
2

3
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
Behdad Esfahbod's avatar
Behdad Esfahbod committed
4
GITIGNOREFILES = m4
5

6
SUBDIRS = po pixmaps gucharmap data docs
Christian Persch's avatar
Christian Persch committed
7

Christian Persch's avatar
Christian Persch committed
8
if ENABLE_CHARMAP
9 10 11
SUBDIRS += help
endif

12 13 14 15
distuninstallcheck_listfiles = find . -type -f -print | grep -v scrollkeeper

distcleancheck_listfiles = find . -type -f print | grep -v 'omf\.out'

16 17 18
desktopdir = $(datadir)/applications
desktop_in_files = gucharmap.desktop.in.in
desktop_DATA 	 = $(desktop_in_files:.desktop.in.in=.desktop)
19

20
pkgconfigdir = $(libdir)/pkgconfig
Christian Persch's avatar
Christian Persch committed
21
pkgconfig_DATA = gucharmap-$(GUCHARMAP_API_PC_VERSION).pc
22

23 24 25 26 27 28 29
desktop-file-validate: $(desktop_DATA)
	for f in $^; do \
		$(DESKTOP_FILE_VALIDATE) $$f; \
	done

check-local: desktop-file-validate

30
EXTRA_DIST = \
31
	ChangeLog.pre-2-23 \
32
	ChangeLog.README \
33 34
	autogen.sh \
	gtkrc.win32 \
35
	COPYING.GFDL \
36 37
	COPYING.UNICODE \
	$(NULL)
38

39 40 41
DISTCHECK_CONFIGURE_FLAGS = \
	--disable-scrollkeeper \
	--disable-schemas-install \
42
	--enable-gtk-doc \
Christian Persch's avatar
Christian Persch committed
43 44
	--disable-introspection \
	--enable-charmap \
45 46
	--with-gtk=3.0 \
	--with-unicode-data=$(unicodedatadir)
47

48 49 50 51
CLEANFILES = \
	$(desktop_DATA) \
	$(NULL)

Behdad Esfahbod's avatar
Behdad Esfahbod committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
MAINTAINERCLEANFILES = \
	$(srcdir)/INSTALL \
	$(srcdir)/aclocal.m4 \
	$(srcdir)/autoscan.log \
	$(srcdir)/compile \
	$(srcdir)/config.guess \
	$(srcdir)/config.h.in \
	$(srcdir)/config.sub \
	$(srcdir)/configure.scan \
	$(srcdir)/depcomp \
	$(srcdir)/install-sh \
	$(srcdir)/ltmain.sh \
	$(srcdir)/missing \
	$(srcdir)/mkinstalldirs \
	$(srcdir)/gtk-doc.make \
	`find "$(srcdir)" -type f -name Makefile.in -print`
68

69
ChangeLog:
70
	$(AM_V_GEN) if test -f $(top_srcdir)/.git/HEAD; then \
71 72 73 74 75 76 77
		git log --stat > $@; \
	fi

dist: ChangeLog

.PHONY: ChangeLog

78
@INTLTOOL_DESKTOP_RULE@
Behdad Esfahbod's avatar
Behdad Esfahbod committed
79 80

-include $(top_srcdir)/git.mk