-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
appmenus: include standalone qvm-sync-appmenus and its manpage
- Loading branch information
Showing
4 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
exec /usr/libexec/qubes-appmenus/qubes-receive-appmenus $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
TOOLS_DIR=tools | ||
PANDOC=pandoc -s -f rst -t man | ||
|
||
TOOLS_DOCS=$(patsubst %.rst,%.1.gz,$(wildcard $(TOOLS_DIR)/*.rst)) | ||
|
||
help: | ||
@echo "make rst=example.rst preview -- generate manpage preview from example.rst" | ||
@echo "make manpages -- generate manpages" | ||
@echo "make install -- generate manpages and copy them to /usr/share/man" | ||
|
||
install: manpages | ||
mkdir -p $(DESTDIR)/usr/share/man/man1 | ||
cp $(TOOLS_DOCS) $(DESTDIR)/usr/share/man/man1/ | ||
|
||
%.1: %.rst | ||
$(PANDOC) $< > $@ | ||
|
||
%.1.gz: %.1 | ||
gzip -f $< | ||
|
||
manpages: $(TOOLS_DOCS) | ||
|
||
preview: $(rst) | ||
pandoc -s -f rst -t man $(rst) | groff -mandoc -Tlatin1 | less -R | ||
|
||
clean: | ||
rm -f $(TOOLS_DOCS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
================= | ||
qvm-sync-appmenus | ||
================= | ||
|
||
NAME | ||
==== | ||
qvm-sync-appmenus - updates desktop file templates for given StandaloneVM or TemplateVM | ||
|
||
:Date: 2012-04-11 | ||
|
||
SYNOPSIS | ||
======== | ||
| qvm-sync-appmenus [options] <vm-name> | ||
OPTIONS | ||
======= | ||
-h, --help | ||
Show this help message and exit | ||
-v, --verbose | ||
Run in verbose mode | ||
|
||
AUTHORS | ||
======= | ||
| Joanna Rutkowska <joanna at invisiblethingslab dot com> | ||
| Rafal Wojtczuk <rafal at invisiblethingslab dot com> | ||
| Marek Marczykowski <marmarek at invisiblethingslab dot com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters