diff options
author | rbuj <[email protected]> | 2019-08-18 13:13:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 21:40:41 +0200 |
commit | f7aaca5e29ce547c76c1b53dedbfd56fd4badbc8 (patch) | |
tree | 38ad1fe93a68e3e01f9fdc868aa841d0d7bdeb55 /data/Makefile.am | |
parent | 2224af43264d953f2e2ad55b6e441ce94e104c60 (diff) | |
download | caja-f7aaca5e29ce547c76c1b53dedbfd56fd4badbc8.tar.bz2 caja-f7aaca5e29ce547c76c1b53dedbfd56fd4badbc8.tar.xz |
Use absolute path of binary on desktop files
./autogen.sh --prefix=/usr && make
...
GEN caja.desktop.in
GEN caja.desktop
GEN caja-home.desktop.in
GEN caja-home.desktop
GEN caja-computer.desktop.in
GEN caja-computer.desktop
GEN caja-folder-handler.desktop.in
GEN caja-folder-handler.desktop
GEN caja-file-management-properties.desktop.in
GEN caja-file-management-properties.desktop
GEN caja-browser.desktop.in
GEN caja-browser.desktop
GEN caja-autorun-software.desktop.in
GEN caja-autorun-software.desktop
GEN mate-network-scheme.desktop.in
GEN mate-network-scheme.desktop
...
grep Exec= data/*.desktop
data/caja-autorun-software.desktop:TryExec=/usr/bin/caja-autorun-software
data/caja-autorun-software.desktop:Exec=/usr/bin/caja-autorun-software %u
data/caja-browser.desktop:TryExec=/usr/bin/caja
data/caja-browser.desktop:Exec=/usr/bin/caja --no-desktop --browser %U
data/caja-computer.desktop:TryExec=/usr/bin/caja
data/caja-computer.desktop:Exec=/usr/bin/caja --no-desktop computer:
data/caja.desktop:Exec=/usr/bin/caja
data/caja-file-management-properties.desktop:Exec=/usr/bin/caja-file-management-properties
data/caja-folder-handler.desktop:TryExec=/usr/bin/caja
data/caja-folder-handler.desktop:Exec=/usr/bin/caja --no-desktop %U
data/caja-home.desktop:TryExec=/usr/bin/caja
data/caja-home.desktop:Exec=/usr/bin/caja --no-desktop
data/mate-network-scheme.desktop:TryExec=/usr/bin/caja
data/mate-network-scheme.desktop:Exec=/usr/bin/caja --no-desktop network:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 20202cf2..314241a9 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -7,17 +7,21 @@ xml_files = $(xml_in_files:.xml.in=.xml) $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ desktopdir = $(datadir)/applications -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) -desktop_in_files = \ - caja.desktop.in \ - caja-home.desktop.in \ - caja-computer.desktop.in \ - caja-folder-handler.desktop.in \ - caja-file-management-properties.desktop.in \ - caja-browser.desktop.in \ - caja-autorun-software.desktop.in -%.desktop: %.desktop.in +desktop_DATA = \ + caja.desktop \ + caja-home.desktop \ + caja-computer.desktop \ + caja-folder-handler.desktop \ + caja-file-management-properties.desktop \ + caja-browser.desktop \ + caja-autorun-software.desktop \ + mate-network-scheme.desktop +desktop_in_files = $(desktop_DATA:.desktop=.desktop.in) +desktop_in_in_files = $(desktop_DATA:.desktop=.desktop.in.in) +%.desktop.in: %.desktop.in.in $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ +%.desktop: %.desktop.in + $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@ mimedir = $(datadir)/mime/packages mime_DATA = $(xml_files) @@ -60,12 +64,14 @@ EXTRA_DIST = $(cajadata_DATA) \ $(xml_in_files) \ $(cajadata_in_files) \ $(desktop_in_files) \ + $(desktop_in_in_files) \ $(service_in_files) \ $(appdata_in_files) \ $(NULL) CLEANFILES = $(xml_files) \ $(desktop_DATA) \ + $(desktop_in_files) \ $(service_DATA) \ caja.appdata.xml \ $(NULL) |