Makefile: Add installation of *.desktop file
This commit is contained in:
parent
8ccde0ce25
commit
be464bfcf5
0
Keyboard_Layout_Viewer.desktop
Executable file → Normal file
0
Keyboard_Layout_Viewer.desktop
Executable file → Normal file
2
Makefile
2
Makefile
@ -220,12 +220,14 @@ install: man
|
||||
install -D -m 0644 $(ASSET_FILE) "$(DATADIR)/$(APPNAME)/$(ASSET_FILE)" ; )
|
||||
install -d $(PREFIX)/share/man/man1/
|
||||
install -t $(PREFIX)/share/man/man1/ man/neo_layout_viewer.1.gz
|
||||
install -D -t $(PREFIX)/share/applications/ Keyboard_Layout_Viewer.desktop
|
||||
|
||||
uninstall:
|
||||
@rm -fv "$(EXEC_PREFIX)/bin/$(BINNAME)$(BINEXT)"
|
||||
@test -d "$(DATADIR)/$(APPNAME)/assets" && rm -v -r "$(DATADIR)/$(APPNAME)"
|
||||
# Prefixed with test because of dangerous -r-flag...
|
||||
@rm -fv $(PREFIX)/share/man/man1/neo_layout_viewer.1.gz
|
||||
@rm -v -r $(PREFIX)/share/applications/Keyboard_Layout_Viewer.desktop
|
||||
|
||||
# clean all build files, but not dist results.
|
||||
clean:
|
||||
|
@ -74,8 +74,9 @@ Hinweise
|
||||
indem Sie die Variable ICON anpassen.
|
||||
|
||||
* Bei Verwendung eines Programmstarters muss dieser noch auf das gewünschte Layout
|
||||
angepasst werden und dann unter '/usr/share/applications' bzw.
|
||||
'/usr/local/share/applications' eingefügt werden.
|
||||
angepasst werden und dann unter '/usr/share/applications',
|
||||
'/usr/local/share/applications' oder '~/.local/share/applications'
|
||||
eingefügt werden.
|
||||
Für automatisches Einblenden beim Anmelden kann der Programmstarter zusätzlich
|
||||
nach /home/<user>/.config/autostart kopiert werden.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user