forked from pyzahl/Gxsm3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
71 lines (54 loc) · 1.83 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
SUBDIRS = gxsm3 plug-ins gl-400 palette thumbnailers tools pixmaps icons profileplot
# data
# po commented out, see discussion in the forums.
# man_MANS = man/gxsm2.1 man/vpdata2ascii.1 man/nctopng.1 man/gmetopng.1 man/rhkspm32topng.1 man/scalatopng.1
EXTRA_DIST = gxsm3.desktop
desktopdir = $(datadir)/applications
#desktop_in_files = gxsm3.desktop.in.in
#desktop_DATA = $(desktop_in_files:.desktop.in.in=.1esktop)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gxsm3$(GUCHARMAP_API_PC_VERSION).pc
#desktop-file-validate: $(desktop_DATA)
# for f in $^; do \
# $(DESKTOP_FILE_VALIDATE) $$f; \
# done
#check-local: desktop-file-validate
Applicationdir = $(datadir)/applications
gxsmdatadir = $(datadir)/gxsm3/data
#ac_default_prefix = /usr
ac_default_prefix = /usr/local/gxsm
#the application icon
appicondir=$(datadir)/icons/hicolor/scalable/apps
appicon_DATA=icons/gxsm3-icon.svg
#icons in the application
NULL =
private_icons = \
gxsm3-icon.svg \
arrow-up-symbolic.svg \
arrow-down-symbolic.svg \
arrow-left-symbolic.svg \
arrow-right-symbolic.svg \
goto-position-symbolic.svg \
goto-center-symbolic.svg \
goto-home-symbolic.svg \
approach-symbolic.svg \
process-stopall-symbolic.svg \
retract-symbolic.svg \
seek-backward-symbolic.svg \
seek-forward-symbolic.svg \
seek-left-symbolic.svg \
seek-right-symbolic.svg \
system-busy-symbolic.svg \
system-off-symbolic.svg \
xymode-symbolic.svg \
$(NULL)
install-icons:
for icon in $(private_icons); do \
mkdir -p $(DESTDIR)$(pkgdatadir)/icons/; \
$(INSTALL_DATA) $(srcdir)/icons/$$icon $(DESTDIR)$(pkgdatadir)/icons/; \
done
install-data-local: install-icons
# gsettings_SCHEMAS is a list of all the schemas you want to install
#gsettings_SCHEMAS = org.gnome.desktop.gxsm3.gschema.xml
# include the appropriate makefile rules for schema handling
#@GSETTINGS_RULES@