Makefile.am 1.44 KB
Newer Older
1
include $(top_srcdir)/Makefile.shared
2

3
DIRS =				\
4
	eel			\
5
	libnautilus-extension	\
6
	cut-n-paste-code 	\
7
	libnautilus-private 	\
8
	src 			\
Darin Adler's avatar
Darin Adler committed
9
	test 			\
10
	po 			\
11 12
	data 			\
	icons 			\
13
	docs			\
14 15
	$(NULL)

16 17 18 19 20 21 22
DIST_SUBDIRS = $(DIRS) nautilus-sendto-extension

SUBDIRS = $(DIRS)
if ENABLE_NST_EXTENSION
SUBDIRS += nautilus-sendto-extension
endif

23 24
EXTRA_DIST=					\
	COPYING.LIB				\
25
	COPYING.EXTENSIONS			\
26
	COPYING-DOCS				\
27 28
	HACKING					\
	MAINTAINERS				\
29
	README.commits				\
30 31 32
	intltool-extract.in			\
	intltool-merge.in			\
	intltool-update.in			\
33
	Makefile.shared				\
34 35
	$(NULL)

36 37 38 39
DISTCLEANFILES = \
  intltool-extract \
  intltool-merge \
  intltool-update
40

41
DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb --enable-gtk-doc
42

43
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
44

45
distclean-local:
46
	if test "$(srcdir)" = "."; then :; else \
47 48 49 50 51 52
		rm -f ChangeLog; \
	fi

ChangeLog:
	@echo Creating $@
	@if test -d "$(srcdir)/.git"; then \
53
	  (GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat -M -C --name-status  --date=short --no-color) | fmt --split-only > $@.tmp \
54 55 56 57 58 59 60 61 62 63 64
	  && mv -f $@.tmp $@ \
	  || ($(RM) $@.tmp; \
	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
	else \
	  test -f $@ || \
	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
	  echo A git checkout and git-log is required to generate this file >> $@); \
	fi

.PHONY: ChangeLog