diff options
author | rbuj <[email protected]> | 2019-08-18 13:13:00 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-08-19 02:02:20 +0000 |
commit | abc7f2a2d2e3d77b54420d24dd6da64e010138c3 (patch) | |
tree | 3828653d4c7710b061ed016e0188e54c8643950b /data/Makefile.am | |
parent | 50897cfb6115ee209fec80f2d5b7a5f8d96537ab (diff) | |
download | caja-abc7f2a2d2e3d77b54420d24dd6da64e010138c3.tar.bz2 caja-abc7f2a2d2e3d77b54420d24dd6da64e010138c3.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) |