my-env/Makefile

284 lines
4.9 KiB
Makefile
Raw Normal View History

2023-02-01 14:29:02 +00:00
# Autogenerated at 01.02.2023 22:27 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
#===============================================
2022-08-25 14:33:02 +00:00
# Install apache2 (latest)
apache:
@./install/apache
2022-08-25 14:33:02 +00:00
# Install bunch of software from apt
apt:
@./install/apt
2022-08-25 14:33:02 +00:00
# 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
2022-08-25 14:33:02 +00:00
# Install google chrome (latest)
chrome:
@./install/chrome
2022-08-25 14:33:02 +00:00
# Install composer (latest)
2022-12-11 06:48:52 +00:00
composer:
@./install/composer
2022-08-25 14:33:02 +00:00
# Install docker (latest) + docker-compose (latest) + ppa
docker:
@./install/docker
2022-07-04 07:51:04 +00:00
2022-10-08 04:37:00 +00:00
# Install dotfiles
dots:
@./install/dots
2022-08-25 14:33:02 +00:00
# Install droidcam v1.8.2
droidcam:
@./install/droidcam
2022-08-25 14:33:02 +00:00
# Install droidcam-obs plugin v1.5.1
droidcam-obs:
@./install/droidcam-obs
2022-08-25 14:33:02 +00:00
# [TODO] Build flameshot from src (latest)
2022-07-05 02:53:41 +00:00
flameshot-build:
@./install/flameshot-build
2022-07-05 02:53:41 +00:00
2022-08-25 14:33:02 +00:00
# Install git (latest)
git:
@./install/git
2022-08-25 14:33:02 +00:00
# Install golang v1.18.3
golang:
@./install/golang
2022-08-25 14:33:02 +00:00
# Install grub-customizer (latest) + ppa
grubc:
@./install/grubc
2022-08-25 14:33:02 +00:00
# Install KDE Window AppMenu Applet
kde-appmenu:
@./install/kde-appmenu
2022-09-28 14:16:12 +00:00
# Install KDE Backports + ppa
kde-backports:
@./install/kde-backports
# Install file templates (KDE)
kde-file-templates:
@./install/kde-file-templates
2022-10-04 05:11:37 +00:00
# Install KDE portal
kde-portal:
@./install/kde-portal
2022-08-25 14:33:02 +00:00
# Install libreoffice
2022-07-05 02:53:41 +00:00
libreoffice:
@./install/libreoffice
2022-07-05 02:53:41 +00:00
2022-12-10 13:59:01 +00:00
# Install lite-xl
lite-xl:
@./install/lite-xl
2022-07-04 07:51:04 +00:00
2022-08-25 14:33:02 +00:00
# Install mariadb (latest) and php-mysql + phpMyAdmin (if php is installed)
mariadb:
@./install/mariadb
2022-08-25 14:33:02 +00:00
# Install nodejs + npm via nvm
nodejs:
@./install/nodejs
2022-08-25 14:33:02 +00:00
# Install ntfy (latest) + ppa
ntfy:
@./install/ntfy
2022-09-30 06:06:16 +00:00
# Install obs-studio (latest snap)
obs-studio:
@./install/obs-studio
2022-08-25 14:33:02 +00:00
# Install omz (latest)
2022-07-05 02:53:41 +00:00
omz-clean:
@./install/omz-clean
2022-08-25 14:33:02 +00:00
# Install omz fancy (powerline10k + MesloLGS font)
omz-fancy:
@./install/omz-fancy
2022-07-05 02:53:41 +00:00
2022-11-30 09:51:28 +00:00
# Install openvpn v2.5.8 (src)
openvpn:
@./install/openvpn
2022-08-25 14:33:02 +00:00
# Install papirus-icon-theme (latest)
2022-07-05 02:53:41 +00:00
papirus:
@./install/papirus
2022-07-05 02:53:41 +00:00
2022-08-25 14:33:02 +00:00
# Install postgresql (latest) and php-pgsql (if php is installed)
pgsql:
@./install/pgsql
2022-08-25 14:33:02 +00:00
# Install php v8.1 + ppa
php:
@./install/php
2022-12-11 06:48:52 +00:00
# Install phpcs + php-cs-fixer
phpcs:
@./install/phpcs
# Install phpmd
phpmd:
@./install/phpmd
# Install psalm
php-psalm:
@./install/php-psalm
# Install php-spx
php-spx:
@./install/php-spx
# Install phpstan
phpstan:
@./install/phpstan
# Install phpunit
phpunit:
@./install/phpunit
2022-12-10 13:59:01 +00:00
2022-08-25 14:33:02 +00:00
# Install postman (latest)
postman:
@./install/postman
2022-08-25 14:33:02 +00:00
# Install qt5
2022-07-05 02:53:41 +00:00
qt5:
@./install/qt5
2022-07-05 02:53:41 +00:00
2022-08-25 14:33:02 +00:00
# Install rustdesk client v1.1.9 (deb)
rustdesk:
@./install/rustdesk
2022-08-25 14:33:02 +00:00
# Install bunch of software from snap
snap:
@./install/snap
2022-08-25 14:33:02 +00:00
# Install syncthing (latest) + ppa
syncthing:
@./install/syncthing
2022-08-25 14:33:02 +00:00
# Install telebit (latest)
telebit:
@./install/telebit
2022-07-04 11:34:00 +00:00
2022-08-25 14:33:02 +00:00
# Install ulauncher (latest) + ppa
ulauncher:
@./install/ulauncher
2022-10-04 05:11:37 +00:00
# Install Vivaldi + ppa
vivaldi:
@./install/vivaldi
2022-08-25 14:33:02 +00:00
# Install wine (latest) + ppa (focal)
wine:
@./install/wine
2022-12-10 13:59:01 +00:00
# Install youtube-dl
2022-10-05 03:30:31 +00:00
youtube-dl:
@./install/youtube-dl
2022-10-09 04:58:49 +00:00
# Install ytdlcue
ytdlcue:
@./install/ytdlcue
2022-08-25 14:33:02 +00:00
# Install zint (latest)
zint:
@./install/zint
2022-08-25 14:33:02 +00:00
# Install vanilla zsh
zsh:
@./install/zsh
2022-12-11 06:48:52 +00:00
#===============================================
# Scripts listed in ./packs
#===============================================
# [TODO] [PACK] Install qt5 + flameshot from source
flameshot:
qt5
flameshot-build
# [PACK] Install apache + php + mariadb
lamp:
apache
php-stack
mariadb
# [PACK] Install OBS Studio + droidcam-obs
obs:
obs-studio
droidcam-obs
# [PACK] Install zsh + omz + powerline10k + MesloLGS font
omz:
zsh
omz-clean
omz-fancy
chsh -s /usr/bin/zsh
@exec zsh
# [PACK] Install full php stack with tooling
phptools:
php
php-tools
# [PACK] Install only php tooling (composer, phpunit, psalm, phpcs, php-cs-fixer, php-spx, phpmd)
php-stack:
composer
php-psalm
php-spx
phpcs
phpmd
phpstan
phpunit
2022-08-26 00:25:55 +00:00
#===============================================
# Scripts listed in ./upgrade
#===============================================
# Upgrade omz
^omz:
@./upgrade/omz
#===============================================
# Scripts listed in ./uninstall
#===============================================
2023-02-01 14:29:02 +00:00
# Uninstall docker + ppa
2022-08-26 00:25:55 +00:00
/docker:
@./uninstall/docker
2022-12-10 13:59:01 +00:00
# Uninstall lite-xl
/lite-xl:
@./uninstall/lite-xl
2022-08-26 00:25:55 +00:00
# Uninstall omz
/omz:
@./uninstall/omz
#===============================================
# Service goals
#===============================================
self:
@./gen-makefile
2022-08-25 14:33:02 +00:00
2022-07-04 07:51:04 +00:00
help: Makefile
@echo "Ubuntu software installator"
@echo
2022-08-26 00:25:55 +00:00
@echo "Usage:\n make help|- show this help\n make self|- regenerate Makefile (alias of ./gen-makefile)\n make GOAL|- install software\n make ^GOAL|- upgrade software\n make /GOAL|- uninstall software" | column -ts '|'
@echo "\nYou can combine GOALs, here are some examples:"
@echo "\tmake @docker docker"
@echo "\tmake php @docker ^omz"
@echo "\nAvailable GOALs:"
2022-08-25 14:33:02 +00:00
@sed -n '/^#/{N;s/# *\(.*\)\n\([^# .].*:\)/\t\2\1/p}' $< | column -ts ':'