New types of make rules + omz refactorings
This commit is contained in:
99
Makefile
99
Makefile
@@ -1,4 +1,4 @@
|
||||
# Autogenerated at 15.07.2022 22:54 using ./gen-makefile
|
||||
# Autogenerated at 19.08.2022 20:58 using ./gen-makefile
|
||||
|
||||
##composer: [PACK] php + composer
|
||||
composer: php composer-clean
|
||||
@@ -9,140 +9,155 @@ flameshot: qt5 flameshot-build
|
||||
##lamp: [PACK] Apache + php + mariadb
|
||||
lamp: apache php mariadb
|
||||
|
||||
##omz: [PACK] zsh + omz + powerline10k + MesloLGS fonts
|
||||
omz: zsh omz-clean
|
||||
##omz: [PACK] zsh + omz + powerline10k + MesloLGS font
|
||||
omz: zsh omz-clean omz-fancy
|
||||
chsh -s /usr/bin/zsh
|
||||
@exec zsh
|
||||
|
||||
##apache: Install apache2 (latest)
|
||||
apache:
|
||||
./install/apache
|
||||
@./install/apache
|
||||
|
||||
##apt: Install bunch of software from apt
|
||||
apt:
|
||||
./install/apt
|
||||
@./install/apt
|
||||
|
||||
##canon-mg2500: Install Canon Pixma MG2500
|
||||
##canon-mg2500: Install Canon Pixma MG2500 + ppa
|
||||
canon-mg2500:
|
||||
./install/canon-mg2500
|
||||
@./install/canon-mg2500
|
||||
|
||||
##chrome: Install google chrome (latest)
|
||||
chrome:
|
||||
./install/chrome
|
||||
@./install/chrome
|
||||
|
||||
##composer-clean: Install composer (latest)
|
||||
composer-clean:
|
||||
./install/composer-clean
|
||||
@./install/composer-clean
|
||||
|
||||
##docker: Install docker (latest) + docker-compose (latest) + ppa
|
||||
docker:
|
||||
./install/docker
|
||||
@./install/docker
|
||||
|
||||
##droidcam: Install droidcam v1.8.2
|
||||
droidcam:
|
||||
./install/droidcam
|
||||
@./install/droidcam
|
||||
|
||||
##droidcam-obs: Install droidcam-obs plugin v1.5.1
|
||||
droidcam-obs:
|
||||
./install/droidcam-obs
|
||||
@./install/droidcam-obs
|
||||
|
||||
##flameshot-build: [TODO] Build flameshot from src (latest)
|
||||
flameshot-build:
|
||||
./install/flameshot-build
|
||||
@./install/flameshot-build
|
||||
|
||||
##git: Install git (latest)
|
||||
git:
|
||||
./install/git
|
||||
@./install/git
|
||||
|
||||
##golang: Install golang v1.18.3
|
||||
golang:
|
||||
./install/golang
|
||||
@./install/golang
|
||||
|
||||
##grubc: Install grub-customizer (latest) + ppa
|
||||
grubc:
|
||||
./install/grubc
|
||||
@./install/grubc
|
||||
|
||||
##kde-appmenu: Install KDE Window AppMenu Applet
|
||||
kde-appmenu:
|
||||
./install/kde-appmenu
|
||||
@./install/kde-appmenu
|
||||
|
||||
##libreoffice: Install libreoffice
|
||||
libreoffice:
|
||||
./install/libreoffice
|
||||
@./install/libreoffice
|
||||
|
||||
##lite-xl: Install lite-xl v2.0.5 (draft)
|
||||
lite-xl:
|
||||
./install/lite-xl
|
||||
@./install/lite-xl
|
||||
|
||||
##mariadb: Install mariadb (latest) and php-mysql + phpMyAdmin (if php is installed)
|
||||
mariadb:
|
||||
./install/mariadb
|
||||
@./install/mariadb
|
||||
|
||||
##nodejs: Install nodejs + npm via nvm
|
||||
nodejs:
|
||||
./install/nodejs
|
||||
@./install/nodejs
|
||||
|
||||
##omz-clean: Install omz (latest) + powerline10k + MesloLGS fonts
|
||||
##ntfy: Install ntfy (latest) + ppa
|
||||
ntfy:
|
||||
@./install/ntfy
|
||||
|
||||
##omz-clean: Install omz (latest)
|
||||
omz-clean:
|
||||
./install/omz-clean
|
||||
@./install/omz-clean
|
||||
|
||||
##omz-fancy: Install omz fancy (powerline10k + MesloLGS font)
|
||||
omz-fancy:
|
||||
@./install/omz-fancy
|
||||
|
||||
##papirus: Install papirus-icon-theme (latest)
|
||||
papirus:
|
||||
./install/papirus
|
||||
@./install/papirus
|
||||
|
||||
##pgsql: Install postgresql (latest) and php-pgsql (if php is installed)
|
||||
pgsql:
|
||||
./install/pgsql
|
||||
@./install/pgsql
|
||||
|
||||
##php: Install php v8.1 + ppa
|
||||
php:
|
||||
./install/php
|
||||
@./install/php
|
||||
|
||||
##postman: Install postman (latest)
|
||||
postman:
|
||||
./install/postman
|
||||
@./install/postman
|
||||
|
||||
##qt5: Install qt5
|
||||
qt5:
|
||||
./install/qt5
|
||||
@./install/qt5
|
||||
|
||||
##rustdesk: Install rustdesk client v1.1.9 (deb)
|
||||
rustdesk:
|
||||
./install/rustdesk
|
||||
@./install/rustdesk
|
||||
|
||||
##snap: Install bunch of software from snap
|
||||
snap:
|
||||
./install/snap
|
||||
@./install/snap
|
||||
|
||||
##syncthing: Install syncthing (latest) + ppa
|
||||
syncthing:
|
||||
./install/syncthing
|
||||
@./install/syncthing
|
||||
|
||||
##telebit: Install telebit (latest)
|
||||
telebit:
|
||||
./install/telebit
|
||||
@./install/telebit
|
||||
|
||||
##ulauncher: Install ulauncher (latest) + ppa
|
||||
ulauncher:
|
||||
./install/ulauncher
|
||||
@./install/ulauncher
|
||||
|
||||
##wine: Install wine (latest) + ppa (focal)
|
||||
wine:
|
||||
./install/wine
|
||||
@./install/wine
|
||||
|
||||
##zint: Install zint (latest)
|
||||
zint:
|
||||
./install/zint
|
||||
@./install/zint
|
||||
|
||||
##zsh: Install vanilla zsh
|
||||
zsh:
|
||||
./install/zsh
|
||||
@./install/zsh
|
||||
|
||||
##help: Show this help message
|
||||
help: Makefile
|
||||
@echo "Usage:"
|
||||
@echo "\tmake <goal>\n"
|
||||
@echo "\tmake <goal>\t - Install software"
|
||||
@echo "\tmake +<goal>\t - Install software"
|
||||
@echo "\tmake ^<goal>\t - Upgrade software"
|
||||
@echo "\tmake @<goal>\t - Uninstall software"
|
||||
@echo "Available goals:"
|
||||
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/"
|
||||
|
||||
##<goal>_: Same as 'cat ./install/<goal>'
|
||||
%_:
|
||||
@cat ./install/$*
|
||||
@sed -n 's/^##//p' $< | column -ts ':' | sed -e "s/^/\t/"
|
||||
+%:
|
||||
@$(MAKE) $*
|
||||
^%:
|
||||
@./upgrade/$*
|
||||
@%:
|
||||
@./uninstall/$*
|
||||
|
||||
Reference in New Issue
Block a user