forked from geany/geany
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
126 lines (106 loc) · 3.01 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
## Process this file with automake to produce Makefile.in
SUBDIRS = tagmanager scintilla src plugins icons po doc
AUTOMAKE_OPTIONS = 1.7
ACLOCAL_AMFLAGS = -I m4
WIN32_BUILD_FILES = \
geany_private.rc \
win32-config.h \
makefile.win32
SYS_DATA_FILES = \
data/c99.tags \
data/php.tags \
data/python.tags \
data/pascal.tags \
data/html_entities.tags \
$(srcdir)/data/filetypes.* \
data/filetype_extensions.conf \
data/snippets.conf \
data/ui_toolbar.xml \
$(srcdir)/data/templates/* \
$(srcdir)/data/templates/files/* \
$(srcdir)/data/colorschemes/* \
$(top_srcdir)/data/geany.glade
if GTK3
$(top_srcdir)/data/geany.css
else
$(top_srcdir)/data/geany.gtkrc
endif
EXTRA_DIST = \
autogen.sh \
wscript \
waf \
geany.desktop.in \
geany.pc.in \
geany.spec \
ChangeLog.pre-0-17 \
ChangeLog.pre-1-22 \
HACKING \
README.I18N \
README.Packagers \
po/intl_stats.sh \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
$(SYS_DATA_FILES) \
$(WIN32_BUILD_FILES)
DISTCLEANFILES = \
geany.desktop \
intltool-extract \
intltool-merge \
intltool-update
uninstall-local:
rm -rf $(DESTDIR)$(pkgdatadir);
install-data-local: install-data-only
@$(NORMAL_INSTALL)
install-data-only:
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
$(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
for file in $(srcdir)/data/*; do \
if test -f $$file; then \
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
fi \
done
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
for file in $(srcdir)/data/templates/*; do \
if test -f $$file; then \
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
fi \
done
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
for file in $(srcdir)/data/templates/files/*; do \
if test -f $$file; then \
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
fi \
done
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
for file in $(srcdir)/data/colorschemes/*; do \
if test -f $$file; then \
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
fi \
done
dist-hook:
@if test -d "$(top_srcdir)/.git"; then \
echo ' GEN ChangeLog'; \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.' && echo && \
git log --stat 0.21.0.. ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp "$(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
sign:
if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
rpm: dist
rpmbuild -ta $(distdir).tar.gz
pkgconfig_DATA = geany.pc
pkgconfigdir = $(libdir)/pkgconfig
desktopdir = $(datadir)/applications
desktop_in_files = geany.desktop
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@