-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
65 lines (53 loc) · 1.41 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
EMPTY =
SUBDIRS = po
bin_PROGRAMS = iccloader
iccloader_SOURCES =\
src/solpos/solpos.c\
src/config2.vala\
src/main.vala\
$(EMPTY)
iccloader_VALAFLAGS = --target-glib @GLIB_VERSION@ --vapidir=$(top_srcdir)/vapi --vapidir=$(top_srcdir)/src/solpos --pkg=config --pkg=gtk+-3.0 --pkg=posix --pkg=gio-2.0 --pkg=solpos
LIBS =\
@gtk_LIBS@\
-lm\
$(EMPTY)
AM_CFLAGS =\
@gtk_CFLAGS@\
-I $(top_srcdir)/src/solpos\
$(EMPTY)
iconthemedir = $(datadir)/icons/hicolor
appiconscalabledir = $(iconthemedir)/scalable/apps
dist_appiconscalable_DATA = data/iccloader.svg
uidir = $(pkgdatadir)/
ui_DATA = data/preferences.ui\
$(EMPTY)
desktopdir = $(datadir)/applications
desktop_in_files = data/@[email protected]
desktop_DATA = data/@[email protected]
@INTLTOOL_DESKTOP_RULE@
MOSTLYCLEANFILES = src/config2.vala\
$(desktop_DATA)
EXTRA_DIST = autogen.sh\
src/config2.vala.in\
$(ui_DATA)\
$(desktop_in_files).in\
vapi\
.gitignore\
*.ebuild\
src/solpos/*.c\
src/solpos/*.h\
src/solpos/*.vala\
src/solpos/*.vapi\
src/solpos/*.sh\
screenshots\
$(EMPTY)
src/config2.vala: src/config2.vala.in
sed -e 's#@ICON_DIR@#$(appiconscalabledir)#g' \
-e 's#@DATA_DIR@#$(pkgdatadir)#g' \
-e 's#@LOCALE_DIR@#$(datadir)/locale#g' \
$< > $(top_srcdir)/$@
clean-local:
-rm -f src/*.c
dist-hook:
rm -f $(distdir)/src/config2.vala
rm -f $(distdir)/src/*.c