forked from stump/gtetrinet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
58 lines (50 loc) · 1.4 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS= doc po src themes icons
icon_DATA = gtetrinet.png
icondir = $(datadir)/pixmaps
schemadir = $(sysconfdir)/gconf/schemas
schema_in_files = gtetrinet.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
Applicationsdir = $(datadir)/applications
Applications_in_files = gtetrinet.desktop.in
Applications_DATA = $(Applications_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = \
ABOUT-NLS \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
NEWS \
README \
TODO \
config.guess \
config.sub \
config.rpath \
install-sh \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
missing \
mkinstalldirs \
$(icon_DATA) \
$(schema_DATA) \
$(Applications_DATA)
install-data-local:
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
# Generate a ChangeLog file from 'git log'
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 --stat ) > 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
-include $(top_srcdir)/git.mk