-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
322 lines (244 loc) · 6.25 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
# Autogenerated at 29.11.2024 16:47 using ./gen-makefile
.DEFAULT_GOAL := help
#===============================================
# Scripts listed in ./install
#===============================================
##apache2: Install apache2 (latest)
apache2:
@./install/apache2
##apt: Install software from apt
apt:
@./install/apt
##canon-mg2500: Install Canon Pixma MG2500 + ppa
canon-mg2500:
@./install/canon-mg2500
##chrome: Install google chrome (latest)
chrome:
@./install/chrome
##composer: Install composer (latest)
composer:
@./install/composer
##docker: Install docker (latest) + docker-compose (latest) + ppa
docker:
@./install/docker
##dots: Install dotfiles
dots:
@./install/dots
##droidcam: Install droidcam v1.9.0
droidcam:
@./install/droidcam
##droidcam-obs: Install droidcam-obs plugin v1.5.1
droidcam-obs:
@./install/droidcam-obs
##flameshot: Install flameshot (latest)
flameshot:
@./install/flameshot
##frkn: Install Wireguard + FRKN
frkn:
@./install/frkn
##git: Install git (latest)
git:
@./install/git
##golang: Install golang v1.21.0
golang:
@./install/golang
##grub-customizer: Install grub-customizer (latest + ppa)
grub-customizer:
@./install/grub-customizer
##jbmono: Install JetBrains Mono fonts
jbmono:
@./install/jbmono
##kde-appmenu: Install KDE Window AppMenu Applet
kde-appmenu:
@./install/kde-appmenu
##kde-backports: Install KDE Backports
kde-backports:
@./install/kde-backports
##kde-file-templates: Install file templates (KDE)
kde-file-templates:
@./install/kde-file-templates
##kde-portal: Install KDE portal
kde-portal:
@./install/kde-portal
##lazynvim: <no description>
lazynvim:
@./install/lazynvim
##libreoffice: Install libreoffice
libreoffice:
@./install/libreoffice
##lite-xl: Install lite-xl
lite-xl:
@./install/lite-xl
##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)
obs-studio:
@./install/obs-studio
##omz-clean: Install omz (latest)
omz-clean:
@./install/omz-clean
##omz-fancy: Install omz fancy (powerline10k + MesloLGS font)
omz-fancy:
@./install/omz-fancy
##openvpn: Install openvpn v2.6.3 (src)
openvpn:
@./install/openvpn
##papirus: Install papirus-icon-theme (latest)
papirus:
@./install/papirus
##pgsql: Install postgresql (latest) and php-pgsql (if php is installed)
pgsql:
@./install/pgsql
##php: Install php v8.3 + ppa
php:
@./install/php
##phpcs: Install phpcs + php-cs-fixer
phpcs:
@./install/phpcs
##phpmd: Install phpmd
phpmd:
@./install/phpmd
##php-psalm: Install psalm
php-psalm:
@./install/php-psalm
##php-spx: Install php-spx
php-spx:
@./install/php-spx
##phpstan: Install phpstan
phpstan:
@./install/phpstan
##phpunit: Install phpunit
phpunit:
@./install/phpunit
##postman: Install postman (latest)
postman:
@./install/postman
##qt5: Install qt5
qt5:
@./install/qt5
##rustdesk: Install rustdesk client v1.1.9 (deb)
rustdesk:
@./install/rustdesk
##snap: Install bunch of software from snap
snap:
@./install/snap
##sublimetext: Install Sublime Text
sublimetext:
@./install/sublimetext
##syncthing: Install syncthing (latest) + ppa
syncthing:
@./install/syncthing
##telebit: Install telebit (latest)
telebit:
@./install/telebit
##telegram: Install telegram (latest)
telegram:
@./install/telegram
##ulauncher: Install ulauncher (latest) + ppa
ulauncher:
@./install/ulauncher
##vivaldi: Install Vivaldi + ppa
vivaldi:
@./install/vivaldi
##vscode: VSCode deb-package
vscode:
@./install/vscode
##wine: Install wine (latest) + ppa (focal)
wine:
@./install/wine
##youtube-dl: Install youtube-dl (src)
youtube-dl:
@./install/youtube-dl
##ytdlcue: Install ytdlcue
ytdlcue:
@./install/ytdlcue
##zint: Install zint (latest)
zint:
@./install/zint
##zsh: Install vanilla zsh
zsh:
@./install/zsh
#===============================================
# Scripts listed in ./packs
#===============================================
##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
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
#===============================================
# Scripts listed in ./upgrade
#===============================================
##^omz: Upgrade omz
^omz:
@./upgrade/omz
#===============================================
# Scripts listed in ./uninstall
#===============================================
##/apache2: Uninstall apache2
/apache2:
@./uninstall/apache2
##/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
##/docker: Uninstall docker + ppa
/docker:
@./uninstall/docker
##/grub-customizer: Uninstall grub-customizer with ppa
/grub-customizer:
@./uninstall/grub-customizer
##/lazynvim: <no description>
/lazynvim:
@./uninstall/lazynvim
##/lite-xl: Uninstall lite-xl
/lite-xl:
@./uninstall/lite-xl
##/omz: Uninstall omz
/omz:
@./uninstall/omz
##/vivaldi: Uninstall vivaldi + ppa
/vivaldi:
@./uninstall/vivaldi
#===============================================
# Service goals
#===============================================
self:
@./gen-makefile
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"
@echo "\nYou can combine GOALs, here are some examples:"
@echo "\tmake /docker docker"
@echo "\tmake php /docker ^omz"
@echo "\nAvailable GOALs:"
@sed -n 's/^##//p' $< | column -ts ':' | sed -e "s/^/\t/"
+%:
@make