Skip to content

Commit 1d1c98c

Browse files
author
Hugo
committed
Install desktop menu item and icons
1 parent eef4885 commit 1d1c98c

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Makefile.am

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
AUTOMAKE_OPTIONS = foreign
22
SUBDIRS = src man themes
33

4+
desktopdir = $(datadir)/applications
5+
dist_desktop_DATA = xjump.desktop
6+
7+
icondir = $(datadir)/icons
8+
dist_icon_DATA = xjump.png
9+
410
install-exec-hook:
511
chgrp games @bindir@/xjump || true
612
chmod +s @bindir@/xjump || true

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ AM_LDFLAGS = -lXaw -lXt -lXpm -lX11
66

77
bin_PROGRAMS = xjump
88

9-
xjump_SOURCES = game.c main.c misc.c record.c record.h resource.c xjump.h icon.xbm icon_msk.xbm xjump-icon.xpm
9+
xjump_SOURCES = game.c main.c misc.c record.c record.h resource.c xjump.h icon.xbm icon_msk.xbm

xjump.desktop

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[Desktop Entry]
22
Version=1.0
3-
Encoding=UTF-8
43
Type=Application
54
Name=XJump
6-
Comment=A jumping game
5+
Comment=A jumping game for X
76
Comment[fr]=Un jeu de saut
7+
Comment[pt]=Um jogo de pulo para o X
88
TryExec=xjump
99
Exec=xjump
10-
Icon=xjump-icon.xpm
11-
Categories=Application;Game;
10+
Icon=xjump
11+
Categories=Game;ArcadeGame;

xjump.png

419 Bytes
Loading

0 commit comments

Comments
 (0)