Move gtk-redshift.desktop file to data dir.
This commit is contained in:
+10
-1
@@ -15,10 +15,19 @@ ubuntu_mono_light_icondir = @datadir@/icons/ubuntu-mono-light/scalable/apps
|
||||
ubuntu_mono_light_icon_DATA = data/icons/ubuntu-mono-light/scalable/apps/redshift.svg \
|
||||
data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg
|
||||
|
||||
|
||||
# Desktop file
|
||||
if ENABLE_GUI
|
||||
desktopdir = @datadir@/applications
|
||||
desktop_DATA = data/applications/gtk-redshift.desktop
|
||||
endif
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(hicolor_icon_DATA) \
|
||||
$(ubuntu_mono_dark_icon_DATA) \
|
||||
$(ubuntu_mono_light_icon_DATA)
|
||||
$(ubuntu_mono_light_icon_DATA) \
|
||||
$(desktop_DATA)
|
||||
|
||||
|
||||
# Update PO translations
|
||||
|
||||
@@ -171,6 +171,7 @@ AS_IF([test "x$enable_gui" != xappindicator -a "x$enable_gui" != xstatusicon], [
|
||||
|
||||
AC_MSG_RESULT([$enable_gui])
|
||||
|
||||
AM_CONDITIONAL([ENABLE_GUI], [test "x$enable_gui" != xnone])
|
||||
AM_CONDITIONAL([ENABLE_STATUSICON], [test "x$enable_gui" = xstatusicon])
|
||||
AM_CONDITIONAL([ENABLE_APPINDICATOR], [test "x$enable_gui" = xappindicator])
|
||||
|
||||
|
||||
@@ -10,10 +10,6 @@ nodist_gtk_redshift_PYTHON = \
|
||||
gtk_redshiftdir = $(pythondir)/gtk_redshift
|
||||
|
||||
bin_SCRIPTS = gtk-redshift
|
||||
|
||||
# Desktop file
|
||||
desktopdir = ${datadir}/applications
|
||||
desktop_DATA = gtk-redshift.desktop
|
||||
endif
|
||||
|
||||
if ENABLE_APPINDICATOR
|
||||
@@ -27,10 +23,6 @@ nodist_gtk_redshift_PYTHON = \
|
||||
gtk_redshiftdir = $(pythondir)/gtk_redshift
|
||||
|
||||
bin_SCRIPTS = gtk-redshift
|
||||
|
||||
# Desktop file
|
||||
desktopdir = ${datadir}/applications
|
||||
desktop_DATA = gtk-redshift.desktop
|
||||
endif
|
||||
|
||||
EXTRA_DIST = gtk-redshift.in \
|
||||
|
||||
Reference in New Issue
Block a user