shell/Makefile

323 lines
6.3 KiB
Makefile
Raw Normal View History

2024-11-24 13:13:37 +00:00
# Autogenerated at 29.11.2024 16:47 using ./gen-makefile
2022-08-19 13:26:09 +00:00
.DEFAULT_GOAL := help
2022-07-12 15:20:11 +00:00
#===============================================
# Scripts listed in ./install
#===============================================
2024-07-31 15:40:56 +00:00
##apache2: Install apache2 (latest)
apache2:
@./install/apache2
2024-07-31 15:40:56 +00:00
##apt: Install software from apt
apt:
@./install/apt
##canon-mg2500: Install Canon Pixma MG2500 + ppa
2022-07-15 14:59:45 +00:00
canon-mg2500:
@./install/canon-mg2500
2022-07-15 14:59:45 +00:00
##chrome: Install google chrome (latest)
chrome:
@./install/chrome
##composer: Install composer (latest)
2022-12-11 06:48:52 +00:00
composer:
@./install/composer
##docker: Install docker (latest) + docker-compose (latest) + ppa
docker:
@./install/docker
2022-07-04 07:51:04 +00:00
##dots: Install dotfiles
2022-10-08 04:37:00 +00:00
dots:
@./install/dots
2024-07-31 15:40:56 +00:00
##droidcam: Install droidcam v1.9.0
droidcam:
@./install/droidcam
##droidcam-obs: Install droidcam-obs plugin v1.5.1
droidcam-obs:
@./install/droidcam-obs
2024-07-31 15:40:56 +00:00
##flameshot: Install flameshot (latest)
flameshot:
@./install/flameshot
2022-07-05 02:53:41 +00:00
2024-08-01 16:03:57 +00:00
##frkn: Install Wireguard + FRKN
frkn:
@./install/frkn
##git: Install git (latest)
git:
@./install/git
2024-07-31 15:40:56 +00:00
##golang: Install golang v1.21.0
golang:
@./install/golang
2024-07-31 15:40:56 +00:00
##grub-customizer: Install grub-customizer (latest + ppa)
grub-customizer:
@./install/grub-customizer
2023-04-12 09:03:00 +00:00
##jbmono: Install JetBrains Mono fonts
jbmono:
@./install/jbmono
##kde-appmenu: Install KDE Window AppMenu Applet
kde-appmenu:
@./install/kde-appmenu
2023-04-12 09:03:00 +00:00
##kde-backports: Install KDE Backports
2022-09-28 14:16:12 +00:00
kde-backports:
@./install/kde-backports
##kde-file-templates: Install file templates (KDE)
kde-file-templates:
@./install/kde-file-templates
##kde-portal: Install KDE portal
2022-10-04 05:11:37 +00:00
kde-portal:
@./install/kde-portal
2024-11-22 01:41:05 +00:00
##lazynvim: <no description>
lazynvim:
@./install/lazynvim
##libreoffice: Install libreoffice
2022-07-05 02:53:41 +00:00
libreoffice:
@./install/libreoffice
2022-07-05 02:53:41 +00:00
##lite-xl: Install lite-xl
lite-xl:
@./install/lite-xl
2022-07-04 07:51:04 +00:00
##mariadb: Install mariadb (latest) and php-mysql + phpMyAdmin (if php is installed)
mariadb:
@./install/mariadb
##nodejs: Install nodejs + npm via nvm
nodejs:
@./install/nodejs
##ntfy: Install ntfy (latest) + ppa
ntfy:
@./install/ntfy
##obs-studio: Install obs-studio (latest snap)
2022-09-30 06:06:16 +00:00
obs-studio:
@./install/obs-studio
##omz-clean: Install omz (latest)
2022-07-05 02:53:41 +00:00
omz-clean:
@./install/omz-clean
##omz-fancy: Install omz fancy (powerline10k + MesloLGS font)
omz-fancy:
@./install/omz-fancy
2022-07-05 02:53:41 +00:00
2024-07-31 15:40:56 +00:00
##openvpn: Install openvpn v2.6.3 (src)
2022-11-30 09:51:28 +00:00
openvpn:
@./install/openvpn
##papirus: Install papirus-icon-theme (latest)
2022-07-05 02:53:41 +00:00
papirus:
@./install/papirus
2022-07-05 02:53:41 +00:00
##pgsql: Install postgresql (latest) and php-pgsql (if php is installed)
pgsql:
@./install/pgsql
2024-11-24 13:13:37 +00:00
##php: Install php v8.3 + ppa
php:
@./install/php
##phpcs: Install phpcs + php-cs-fixer
2022-12-11 06:48:52 +00:00
phpcs:
@./install/phpcs
##phpmd: Install phpmd
2022-12-11 06:48:52 +00:00
phpmd:
@./install/phpmd
##php-psalm: Install psalm
2022-12-11 06:48:52 +00:00
php-psalm:
@./install/php-psalm
##php-spx: Install php-spx
2022-12-11 06:48:52 +00:00
php-spx:
@./install/php-spx
##phpstan: Install phpstan
2022-12-11 06:48:52 +00:00
phpstan:
@./install/phpstan
##phpunit: Install phpunit
2022-12-11 06:48:52 +00:00
phpunit:
@./install/phpunit
2022-12-10 13:59:01 +00:00
##postman: Install postman (latest)
postman:
@./install/postman
##qt5: Install qt5
2022-07-05 02:53:41 +00:00
qt5:
@./install/qt5
2022-07-05 02:53:41 +00:00
##rustdesk: Install rustdesk client v1.1.9 (deb)
rustdesk:
@./install/rustdesk
##snap: Install bunch of software from snap
snap:
@./install/snap
2024-11-24 13:13:37 +00:00
##sublimetext: Install Sublime Text
2024-07-31 16:05:38 +00:00
sublimetext:
@./install/sublimetext
##syncthing: Install syncthing (latest) + ppa
syncthing:
@./install/syncthing
##telebit: Install telebit (latest)
telebit:
@./install/telebit
2022-07-04 11:34:00 +00:00
2023-04-12 09:03:00 +00:00
##telegram: Install telegram (latest)
telegram:
@./install/telegram
##ulauncher: Install ulauncher (latest) + ppa
ulauncher:
@./install/ulauncher
##vivaldi: Install Vivaldi + ppa
2022-10-04 05:11:37 +00:00
vivaldi:
@./install/vivaldi
2024-11-22 01:41:05 +00:00
##vscode: VSCode deb-package
vscode:
@./install/vscode
##wine: Install wine (latest) + ppa (focal)
wine:
@./install/wine
2023-04-12 09:03:00 +00:00
##youtube-dl: Install youtube-dl (src)
2022-10-05 03:30:31 +00:00
youtube-dl:
@./install/youtube-dl
##ytdlcue: Install ytdlcue
2022-10-09 04:58:49 +00:00
ytdlcue:
@./install/ytdlcue
##zint: Install zint (latest)
zint:
@./install/zint
##zsh: Install vanilla zsh
zsh:
@./install/zsh
2022-12-11 06:48:52 +00:00
#===============================================
# Scripts listed in ./packs
#===============================================
2023-04-12 09:03:00 +00:00
##flameshot: [TODO] [PACK] qt5 + flameshot from source
flameshot: qt5 flameshot-build
##lamp: [PACK] Apache + php + mariadb
lamp: apache phpstack mariadb
##obs: [PACK] Install OBS Studio + droidcam-obs
obs: obs-studio droidcam-obs
##omz: [PACK] zsh + omz + powerline10k + MesloLGS font
omz: zsh omz-clean omz-fancy
2022-12-11 06:48:52 +00:00
chsh -s /usr/bin/zsh
@exec zsh
##phptools: [PACK] Install only php tooling (composer, phpunit, psalm, phpcs, php-cs-fixer, php-spx, phpmd)
phptools: composer php-psalm php-spx phpcs phpmd phpstan phpunit
##phpstack: [PACK] Install full php stack with tooling
phpstack: php phptools
2022-12-11 06:48:52 +00:00
2022-08-26 00:25:55 +00:00
#===============================================
# Scripts listed in ./upgrade
#===============================================
2023-04-12 11:05:12 +00:00
##^omz: Upgrade omz
2022-08-26 00:25:55 +00:00
^omz:
@./upgrade/omz
#===============================================
# Scripts listed in ./uninstall
#===============================================
2024-07-31 15:40:56 +00:00
##/apache2: Uninstall apache2
/apache2:
@./uninstall/apache2
2024-11-24 13:13:37 +00:00
##/canon-mg2500: Uninstall Canon Pixma MG2500 + ppa
/canon-mg2500:
@./uninstall/canon-mg2500
##/chrome: Uninstall google chrome
/chrome:
@./uninstall/chrome
##/composer: Uninstall composer
/composer:
@./uninstall/composer
2023-04-12 11:05:12 +00:00
##/docker: Uninstall docker + ppa
2022-08-26 00:25:55 +00:00
/docker:
@./uninstall/docker
2024-07-31 15:40:56 +00:00
##/grub-customizer: Uninstall grub-customizer with ppa
/grub-customizer:
@./uninstall/grub-customizer
2024-11-22 01:41:05 +00:00
##/lazynvim: <no description>
/lazynvim:
@./uninstall/lazynvim
2023-04-12 11:05:12 +00:00
##/lite-xl: Uninstall lite-xl
2022-12-10 13:59:01 +00:00
/lite-xl:
@./uninstall/lite-xl
2023-04-12 11:05:12 +00:00
##/omz: Uninstall omz
2022-08-26 00:25:55 +00:00
/omz:
@./uninstall/omz
2023-04-12 11:05:12 +00:00
##/vivaldi: Uninstall vivaldi + ppa
2023-02-01 14:29:23 +00:00
/vivaldi:
@./uninstall/vivaldi
2022-08-26 00:25:55 +00:00
#===============================================
# Service goals
#===============================================
self:
@./gen-makefile
2022-07-04 07:51:04 +00:00
help: Makefile
@echo "Ubuntu software installator"
@echo
@echo "Usage:"
@echo "\tmake help\t - show this help"
@echo "\tmake self\t - regenerate Makefile (alias of ./gen-makefile)"
@echo "\tmake GOAL\t - install software"
@echo "\tmake ^GOAL\t - upgrade software"
@echo "\tmake /GOAL\t - uninstall software"
2022-08-26 00:25:55 +00:00
@echo "\nYou can combine GOALs, here are some examples:"
@echo "\tmake /docker docker"
@echo "\tmake php /docker ^omz"
2022-08-26 00:25:55 +00:00
@echo "\nAvailable GOALs:"
@sed -n 's/^##//p' $< | column -ts ':' | sed -e "s/^/\t/"
+%:
2023-04-12 09:03:00 +00:00
@make