|
Lines 2-44
Link Here
|
| 2 |
SUBDIRS = src po |
2 |
SUBDIRS = src po |
| 3 |
ACLOCAL_AMFLAGS = -I m4 |
3 |
ACLOCAL_AMFLAGS = -I m4 |
| 4 |
|
4 |
|
|
|
5 |
_HICOLOR_FILES = \ |
| 6 |
data/icons/hicolor/scalable/apps/redshift.svg \ |
| 7 |
data/icons/hicolor/scalable/apps/redshift-status-on.svg \ |
| 8 |
data/icons/hicolor/scalable/apps/redshift-status-off.svg |
| 9 |
|
| 10 |
_UBUNTU_MONO_DARK_FILES = \ |
| 11 |
data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg \ |
| 12 |
data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg |
| 13 |
|
| 14 |
_UBUNTU_MONO_LIGHT_FILES = \ |
| 15 |
data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg \ |
| 16 |
data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg |
| 17 |
|
| 18 |
_DESKTOP_FILES = \ |
| 19 |
data/applications/gtk-redshift.desktop |
| 20 |
|
| 5 |
# Icons |
21 |
# Icons |
|
|
22 |
if ENABLE_GUI |
| 6 |
hicolor_icondir = @datadir@/icons/hicolor/scalable/apps |
23 |
hicolor_icondir = @datadir@/icons/hicolor/scalable/apps |
| 7 |
hicolor_icon_DATA = data/icons/hicolor/scalable/apps/redshift.svg \ |
24 |
hicolor_icon_DATA = $(_HICOLOR_FILES) |
| 8 |
data/icons/hicolor/scalable/apps/redshift-status-on.svg \ |
|
|
| 9 |
data/icons/hicolor/scalable/apps/redshift-status-off.svg |
| 10 |
|
25 |
|
| 11 |
if ENABLE_UBUNTU |
26 |
if ENABLE_UBUNTU |
| 12 |
ubuntu_mono_dark_icondir = @datadir@/icons/ubuntu-mono-dark/scalable/apps |
27 |
ubuntu_mono_dark_icondir = @datadir@/icons/ubuntu-mono-dark/scalable/apps |
| 13 |
ubuntu_mono_dark_icon_DATA = \ |
28 |
ubuntu_mono_dark_icon_DATA = $(_UBUNTU_MONO_DARK_FILES) |
| 14 |
data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg \ |
|
|
| 15 |
data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg |
| 16 |
|
29 |
|
| 17 |
ubuntu_mono_light_icondir = @datadir@/icons/ubuntu-mono-light/scalable/apps |
30 |
ubuntu_mono_light_icondir = @datadir@/icons/ubuntu-mono-light/scalable/apps |
| 18 |
ubuntu_mono_light_icon_DATA = \ |
31 |
ubuntu_mono_light_icon_DATA = $(_UBUNTU_MONO_LIGHT_FILES) |
| 19 |
data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg \ |
32 |
endif |
| 20 |
data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg |
|
|
| 21 |
endif |
33 |
endif |
| 22 |
|
34 |
|
| 23 |
|
35 |
|
| 24 |
# Desktop file |
36 |
# Desktop file |
| 25 |
if ENABLE_GUI |
37 |
if ENABLE_GUI |
| 26 |
desktopdir = @datadir@/applications |
38 |
desktopdir = @datadir@/applications |
| 27 |
desktop_DATA = data/applications/gtk-redshift.desktop |
39 |
desktop_DATA = $(_DESKTOP_FILES) |
| 28 |
endif |
40 |
endif |
| 29 |
|
41 |
|
| 30 |
# man page |
42 |
# man page |
| 31 |
dist_man1_MANS = redshift.1 |
43 |
dist_man1_MANS = redshift.1 |
| 32 |
|
44 |
|
| 33 |
EXTRA_DIST = \ |
45 |
EXTRA_DIST = \ |
| 34 |
$(hicolor_icon_DATA) \ |
46 |
$(_HICOLOR_FILES) \ |
| 35 |
$(desktop_DATA) |
47 |
$(_UBUNTU_MONO_DARK_FILES) \ |
| 36 |
|
48 |
$(_UBUNTU_MONO_LIGHT_FILES) \ |
| 37 |
if ENABLE_UBUNTU |
49 |
$(_DESKTOP_FILES) |
| 38 |
EXTRA_DIST += \ |
|
|
| 39 |
$(ubuntu_mono_dark_icon_DATA) \ |
| 40 |
$(ubuntu_mono_light_icon_DATA) |
| 41 |
endif |
| 42 |
|
50 |
|
| 43 |
# Update PO translations |
51 |
# Update PO translations |
| 44 |
.PHONY: update-po |
52 |
.PHONY: update-po |