File: Makefile.am

package info (click to toggle)
planner 0.14.6-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,872 kB
  • ctags: 6,212
  • sloc: ansic: 67,306; sh: 10,242; xml: 3,495; sql: 886; makefile: 760; python: 3
file content (66 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download | duplicates (5)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#if HAVE_DOTNET
#dotnet_DIR = dotnet
#endif
dotnet_DIR = 

if HAVE_PYTHON
python_DIR = python
endif

if HAVE_EDS_BACKEND
eds_backend_DIR = eds-backend
endif

SUBDIRS = \
	po 				\
	libplanner			\
	src				\
	data				\
	docs				\
	examples			\
	tests				\
	$(python_DIR)			\
	$(dotnet_DIR)			\
	$(eds_backend_DIR)

EXTRA_DIST = \
	libplanner-1.pc			\
	libplanner-1.pc.in		\
	intltool-extract.in		\
	intltool-merge.in		\
	intltool-update.in		\
	xmldocs.make			\
	omf.make

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libplanner-1.pc

DISTCHECK_CONFIGURE_FLAGS =		\
	--enable-gtk-doc		\
	--enable-database		\
	--disable-dotnet		\
	--enable-python			\
	--disable-scrollkeeper		\
	--disable-update-mimedb

# Workaround broken scrollkeeper that doesn't remove its files on
# uninstall. Same with the shared mime info, the generated files
# aren't empty when there is no mime data
distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' | \
 grep -v '/share/mime/' | grep -v '/share/omf/planner'

DISTCLEANFILES = intltool-extract intltool-merge intltool-update 

dist-hook:
	@if test -d "$(srcdir)/.git"; \
	then \
		echo Creating ChangeLog && \
		( cd "$(top_srcdir)" && \
		  echo '# Generated by Makefile. Do not edit.'; echo; \
		  $(top_srcdir)/missing --run git log ) > ChangeLog.tmp \
		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
		|| ( rm -f ChangeLog.tmp ; \
			echo Failed to generate ChangeLog >&2 ); \
	else \
		echo A git clone is required to generate a ChangeLog >&2; \
	fi