Added a desktop icon
This commit is contained in:
parent
b9a57af3b9
commit
02479f242a
5
Makefile
5
Makefile
|
@ -1,6 +1,6 @@
|
|||
PACKAGE = Clock
|
||||
VERSION = 0.0.0
|
||||
SUBDIRS = po src
|
||||
SUBDIRS = data po src
|
||||
RM = rm -f
|
||||
LN = ln -f
|
||||
TAR = tar -czvf
|
||||
|
@ -21,6 +21,9 @@ dist:
|
|||
$(RM) -r -- $(PACKAGE)-$(VERSION)
|
||||
$(LN) -s -- . $(PACKAGE)-$(VERSION)
|
||||
@$(TAR) $(PACKAGE)-$(VERSION).tar.gz -- \
|
||||
$(PACKAGE)-$(VERSION)/data/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/data/clock-settings.desktop \
|
||||
$(PACKAGE)-$(VERSION)/data/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/po/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/po/gettext.sh \
|
||||
$(PACKAGE)-$(VERSION)/po/POTFILES \
|
||||
|
|
21
data/Makefile
Normal file
21
data/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
PREFIX = /usr/local
|
||||
DESTDIR =
|
||||
MKDIR = mkdir -m 0755 -p
|
||||
INSTALL = install
|
||||
RM = rm -f
|
||||
|
||||
|
||||
all:
|
||||
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
|
||||
install:
|
||||
$(MKDIR) $(DESTDIR)$(PREFIX)/share/applications
|
||||
$(INSTALL) -m 0644 clock-settings.desktop $(DESTDIR)$(PREFIX)/share/applications/clock-settings.desktop
|
||||
|
||||
uninstall:
|
||||
$(RM) -- $(DESTDIR)$(PREFIX)/share/applications/clock-settings.desktop
|
||||
|
||||
.PHONY: all clean distclean install uninstall
|
7
data/clock-settings.desktop
Normal file
7
data/clock-settings.desktop
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=Date & time settings
|
||||
Comment=Set the time and date
|
||||
Exec=clock
|
||||
Icon=appointment-soon
|
||||
Type=Application
|
||||
Categories=Settings;GTK;
|
4
data/project.conf
Normal file
4
data/project.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
dist=Makefile,clock-settings.desktop
|
||||
|
||||
[clock-settings.desktop]
|
||||
install=$(PREFIX)/share/applications
|
|
@ -2,5 +2,5 @@ package=Clock
|
|||
version=0.0.0
|
||||
config=h,sh
|
||||
|
||||
subdirs=po,src
|
||||
subdirs=data,po,src
|
||||
dist=Makefile,COPYING,config.h,config.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user