summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 63fdff68416e52c28512488738cce88647c87f7d (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
if USE_NLS
PO_SUBDIR = po
endif

SUBDIRS = $(PO_SUBDIR) mate-user-guide

desktopdir = $(datadir)/applications
desktop_in_files = mate-user-guide.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

$(desktop_DATA): $(desktop_in_files)
if USE_NLS
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
else
	$(AM_V_GEN) cp $< $@
endif

CLEANFILES = $(desktop_DATA)

EXTRA_DIST = \
    autogen.sh

# 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