Also generate and install a desktop entry for the stopwatch

This commit is contained in:
Pierre Pronchery 2015-04-19 18:52:00 +02:00
parent fd28ff30aa
commit e1d2e68ee4
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=URL
Name=Stopwatch
Comment=Simple desktop stopwatch
URL=file://@PREFIX@/lib/Surfer/htmlapps/stopwatch.html
Icon=appointment-soon
Categories=Utility;GTK;

View File

@ -1,5 +1,5 @@
targets=deforaos-calculator.desktop
dist=Makefile,calculator.html,deforaos-calculator.desktop.in,stopwatch.html
targets=deforaos-calculator.desktop,deforaos-stopwatch.desktop
dist=Makefile,calculator.html,deforaos-calculator.desktop.in,deforaos-stopwatch.desktop.in,stopwatch.html
[calculator.html]
install=$(PREFIX)/lib/Surfer/htmlapps
@ -10,5 +10,11 @@ script=../../../tools/subst.sh
depends=deforaos-calculator.desktop.in
install=$(PREFIX)/share/applications
[deforaos-stopwatch.desktop]
type=script
script=../../../tools/subst.sh
depends=deforaos-stopwatch.desktop.in
install=$(PREFIX)/share/applications
[stopwatch.html]
install=$(PREFIX)/lib/Surfer/htmlapps