-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.am
74 lines (62 loc) · 1.48 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
SUBDIRS = data gnomenews po
bin_SCRIPTS = gnome-news
EXTRA_DIST = \
AUTHORS \
gnome-news.in \
VERSION.in \
$(NULL)
CLEANFILES = \
$(bin_SCRIPTS) \
$(NULL)
MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL)
DISTCHECK_CONFIGURE_FLAGS = \
--enable-appstream-util \
$(NULL)
GITIGNOREFILES = \
**/*.swp \
m4/ \
autom4te.cache/ \
aclocal.m4 \
ChangeLog \
INSTALL \
install-sh \
missing \
py-compile \
VERSION \
gnomenews/__pycache__ \
$(NULL)
dist-hook: AUTHORS
AUTHORS:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating $@ && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
git log --no-merges --pretty=format:"%an" \
| sort | uniq ) > $@.tmp \
&& mv -f $@.tmp $@ \
|| ( rm -f $@.tmp ; \
echo Failed to generate $@ >&2 ); \
fi
.PHONY: AUTHORS
gnome-news: gnome-news.in Makefile
$(AM_V_GEN)sed \
-e s!\@srcdir\@!$(abs_top_srcdir)! \
-e s!\@prefix\@!$(prefix)! \
-e s!\@datadir\@!$(datadir)! \
-e s!\@pkgdatadir\@!$(pkgdatadir)! \
-e s!\@libexecdir\@!$(libexecdir)! \
-e s!\@libdir\@!$(libdir)! \
-e s!\@pkglibdir\@!$(pkglibdir)! \
-e s!\@localedir\@!$(localedir)! \
-e s!\@pythondir\@!$(pythondir)! \
-e s!\@pyexecdir\@!$(pyexecdir)! \
-e s!\@PACKAGE\@!$(PACKAGE)! \
-e s!\@VERSION\@!$(VERSION)! \
< $< > $@
chmod a+x $@
all-local: gnome-news
-include $(top_srcdir)/git.mk