42 lines
962 B
Plaintext
Executable File
42 lines
962 B
Plaintext
Executable File
#!usr/bin/env menu
|
|
|
|
$ echo Hello, world.
|
|
# ^^^ Text VVV Command
|
|
echo Hello, world.
|
|
|
|
$ cat Makefile
|
|
# And this is the Attributes line, which is yet unused.
|
|
cat Makefile
|
|
|
|
$ cat examples/installation-helper
|
|
# Technically this line is skipped entirely by menu(1).
|
|
cat examples/installation-helper
|
|
|
|
$ less <menu.rs
|
|
# But comments will be allowed here, they'll start with hash.
|
|
less <menu.rs
|
|
|
|
Remove menu and re-build it.
|
|
# Don't start the attributes line with a tab; it'll break in later versions.
|
|
rm -f menu; make
|
|
|
|
Install menu to /usr/local/ (assuming adequate permissions).
|
|
|
|
make PREFIX=/usr/local/ install
|
|
|
|
Install menu to /usr/local/ (using sudo(8)).
|
|
|
|
sudo make PREFIX=/usr/local install
|
|
|
|
Uninstall menu from /usr/local (assuming adequate permissions).
|
|
|
|
make PREFIX=/usr/local/ uninstall
|
|
|
|
Uninstall menu from /usr/local (using sudo(8)).
|
|
|
|
sudo make PREFIX=/usr/local/ uninstall
|
|
|
|
Open the ytfeed launcher.
|
|
|
|
make -C examples -f Makefile.ytfeed launcher
|