Skip to content
Permalink
Browse files

use reverse-DNS naming for installing *.desktop files

This is similar to and consistent with the previous commit, and the
desktop entry specification recommends doing this as well.
  • Loading branch information...
chungy committed Sep 7, 2019
1 parent 4ec9978 commit bc50bd123e2b43ff404599b2a017a98261a66e47
@@ -168,22 +168,22 @@ rpm.spec
data/Makefile
src/Makefile
src/Doom.metainfo.xml
src/doom.desktop
src/doom-screensaver.desktop
src/Doom.desktop
src/Doom_Screensaver.desktop
src/doom/Makefile
src/Heretic.metainfo.xml
src/heretic.desktop
src/Heretic.desktop
src/heretic/Makefile
src/Hexen.metainfo.xml
src/hexen.desktop
src/Hexen.desktop
src/hexen/Makefile
src/resource.rc
src/setup-res.rc
src/setup/Makefile
src/setup/setup.desktop
src/setup/Setup.desktop
src/setup/setup-manifest.xml
src/Strife.metainfo.xml
src/strife.desktop
src/Strife.desktop
src/strife/Makefile
textscreen/Makefile
textscreen/examples/Makefile
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -217,7 +217,7 @@ endif
EXTRA_DIST = \
CMakeLists.txt \
icon.c \
doom-screensaver.desktop.in \
Doom_Screensaver.desktop.in \
manifest.xml

metainfodir = $(prefix)/share/metainfo
@@ -241,28 +241,28 @@ metainfo_DATA = \

appdir = $(prefix)/share/applications
app_DATA = \
@PROGRAM_PREFIX@doom.desktop \
@PROGRAM_PREFIX@heretic.desktop \
@PROGRAM_PREFIX@hexen.desktop \
@PROGRAM_PREFIX@strife.desktop
@PACKAGE_RDNS@.Doom.desktop \
@PACKAGE_RDNS@.Heretic.desktop \
@PACKAGE_RDNS@.Hexen.desktop \
@PACKAGE_RDNS@.Strife.desktop

@PROGRAM_PREFIX@doom.desktop : doom.desktop
cp doom.desktop $@
@PACKAGE_RDNS@.Doom.desktop : Doom.desktop
cp Doom.desktop $@

@PROGRAM_PREFIX@heretic.desktop : heretic.desktop
cp heretic.desktop $@
@PACKAGE_RDNS@.Heretic.desktop : Heretic.desktop
cp Heretic.desktop $@

@PROGRAM_PREFIX@hexen.desktop : hexen.desktop
cp hexen.desktop $@
@PACKAGE_RDNS@.Hexen.desktop : Hexen.desktop
cp Hexen.desktop $@

@PROGRAM_PREFIX@strife.desktop : strife.desktop
cp strife.desktop $@
@PACKAGE_RDNS@.Strife.desktop : Strife.desktop
cp Strife.desktop $@

screensaverdir = $(prefix)/share/applications/screensavers
screensaver_DATA = @PROGRAM_PREFIX@doom-screensaver.desktop
screensaver_DATA = @PACKAGE_RDNS@.Doom_Screensaver.desktop

@PROGRAM_PREFIX@doom-screensaver.desktop: doom-screensaver.desktop
cp doom-screensaver.desktop $@
@PACKAGE_RDNS@.Doom_Screensaver.desktop: Doom_Screensaver.desktop
cp Doom_Screensaver.desktop $@

CLEANFILES = $(execgames_SCRIPTS) $(app_DATA) $(screensaver_DATA)

File renamed without changes.
@@ -26,12 +26,12 @@ EXTRA_DIST= \
setup_icon.c

appdir = $(prefix)/share/applications
app_DATA = @PROGRAM_PREFIX@setup.desktop
app_DATA = @PACKAGE_RDNS@.Setup.desktop

CLEANFILES = $(app_DATA)

@PROGRAM_PREFIX@setup.desktop : setup.desktop
cp setup.desktop $@
@PACKAGE_RDNS@.Setup.desktop : Setup.desktop
cp Setup.desktop $@

if HAVE_PYTHON

File renamed without changes.

0 comments on commit bc50bd1

Please sign in to comment.
You can’t perform that action at this time.