-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
94 lines (77 loc) · 2.2 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
NULL =
bin_PROGRAMS = glasscat
INCLUDES = \
$(GLASSCAT_CFLAGS) \
-DVERSION=\""$(VERSION)"\" \
-DDATADIR=\""$(datadir)"\" \
-DGLASSCATDIR=\""$(pkgdatadir)"\" \
$(NULL)
glasscat_SOURCES = \
src/application.vala \
src/basewindow.vala \
src/bufferlist.vala \
src/document.vala \
src/documentview.vala \
src/documentwindow.vala \
src/metadata.vala \
src/project.vala \
src/projecttree.vala \
src/projectwindow.vala \
src/searchentry.vala \
src/settings.vala \
src/uimanager.vala \
$(NULL)
glasscat_VALAFLAGS = \
--vapidir $(srcdir)/vapi --pkg gtk+-2.0 --pkg gtksourceview-2.0 --pkg gconf-2.0 --pkg unique-1.0 --pkg misc-utils
glasscat_LDADD = \
$(GLASSCAT_LIBS) \
$(NULL)
mimedir = $(datadir)/mime/packages
mime_DATA = data/glasscat-mime.xml
schemasdir = $(GCONF_SCHEMA_FILE_DIR)
schemas_DATA = data/glasscat.schemas
icon16dir = $(datadir)/icons/hicolor/16x16/apps
icon16_DATA = data/16x16/glasscat.png
icon24dir = $(datadir)/icons/hicolor/24x24/apps
icon24_DATA = data/24x24/glasscat.png
icon32dir = $(datadir)/icons/hicolor/32x32/apps
icon32_DATA = data/32x32/glasscat.png
icondir = $(datadir)/icons/hicolor/scalable/apps
icon_DATA = data/scalable/glasscat.svg
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook:
update-mime-database $(datadir)/mime
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
desktopdir = $(datadir)/applications
desktop_DATA = data/glasscat.desktop
uidir = $(pkgdatadir)
ui_DATA = \
data/glasscat-ui.xml \
data/glasscat-project-ui.xml \
$(NULL)
if GCONF_SCHEMAS_INSTALL
install-data-local:
if test -z "$(DESTDIR)" ; then \
for p in $(schemas_DATA) ; do \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/$$p ; \
done \
fi
else
install-data-local:
endif
EXTRA_DIST = \
$(mime_DATA) \
$(schemas_DATA) \
$(icon16_DATA) \
$(icon24_DATA) \
$(icon32_DATA) \
$(icon_DATA) \
$(desktop_DATA) \
$(ui_DATA) \
$(NULL)