my-env/Makefile

279 lines
5.4 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
#===============================================
##apache: Install apache2 (latest)
apache:
@./install/apache
##apt: Install bunch of 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
##droidcam: Install droidcam v1.8.2
droidcam:
@./install/droidcam
##droidcam-obs: Install droidcam-obs plugin v1.5.1
droidcam-obs:
@./install/droidcam-obs
##flameshot-build: [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
##git: Install git (latest)
git:
@./install/git
##golang: Install golang v1.18.3
golang:
@./install/golang
##grubc: Install grub-customizer (latest) + ppa
grubc:
@./install/grubc
##kde-appmenu: Install KDE Window AppMenu Applet
kde-appmenu:
@./install/kde-appmenu
##kde-backports: Install KDE Backports + ppa
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
##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
##openvpn: Install openvpn v2.5.8 (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
##php: Install php v8.1 + 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
##syncthing: Install syncthing (latest) + ppa
syncthing:
@./install/syncthing
##telebit: Install telebit (latest)
telebit:
@./install/telebit
2022-07-04 11:34:00 +00:00
##ulauncher: Install ulauncher (latest) + ppa
ulauncher:
@./install/ulauncher
##vivaldi: Install Vivaldi + ppa
2022-10-04 05:11:37 +00:00
vivaldi:
@./install/vivaldi
##wine: Install wine (latest) + ppa (focal)
wine:
@./install/wine
##youtube-dl: Install youtube-dl
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
#===============================================
##flameshot: [TODO] 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
#===============================================
# 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
2023-02-01 14:29:23 +00:00
# Uninstall vivaldi + ppa
/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/"
+%:
@
^%:
@./upgrade/
@%:
@./uninstall/