summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 6ab17f4a69af9754f22933f9aa09a795f9cfd5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SUBDIRS = po src examples

if ENABLE_GTK_DOC
SUBDIRS += docs
endif

ACLOCAL_AMFLAGS = -I m4 -I . ${ACLOCAL_FLAGS}

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = caja-python.pc

extensiondir = $(datadir)/caja/extensions
extension_in_files = libcaja-python.caja-extension.desktop.in
extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension)
$(extension_DATA): $(extension_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@

EXTRA_DIST = autogen.sh caja-python.pc.in libcaja-python.caja-extension.desktop.in
CLEANFILES = libcaja-python.caja-extension

DISTCHECK_CONFIGURE_FLAGS= \
	--enable-gtk-doc \
	--with-cajadir='$${libdir}/caja/extensions-2.0-distcheck' \
	CFLAGS='-Wno-deprecated-declarations'

# Build ChangeLog from GIT  history
ChangeLog:
	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
	fi

dist: ChangeLog

.PHONY: ChangeLog