wiki: Reduce image size to 920px
[ipfire.org.git] / Makefile.am
1 #!/usr/bin/make
2
3 AM_MAKEFLAGS = --no-print-directory
4 AUTOMAKE_OPTIONS = color-tests
5
6 # remove target it the command fails
7 .DELETE_ON_ERROR:
8
9 # keep itermediate files
10 .SECONDARY:
11
12 pythondir = $(pyexecdir)
13
14 configsdir = $(sysconfdir)/ipfire.org
15 crondir = $(sysconfdir)/cron.d
16
17 CLEANFILES =
18 DISTCLEANFILES =
19 EXTRA_DIST =
20 INSTALL_DIRS =
21 noinst_DATA =
22
23 DISTCHECK_CONFIGURE_FLAGS = \
24 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
25
26 # ------------------------------------------------------------------------------
27
28 bin_SCRIPTS = \
29 src/scripts/ipfire.org \
30 src/scripts/ipfire.org-webapp
31
32 EXTRA_DIST += \
33 src/scripts/ipfire.org.in \
34 src/scripts/ipfire.org-webapp.in
35
36 CLEANFILES += \
37 src/scripts/ipfire.org \
38 src/scripts/ipfire.org-webapp
39
40 configs_DATA = \
41 ipfire.org.conf.sample
42
43 EXTRA_DIST += \
44 ipfire.org.conf.sample.in
45
46 CLEANFILES += \
47 ipfire.org.conf.sample
48
49 backend_PYTHON = \
50 src/backend/__init__.py \
51 src/backend/accounts.py \
52 src/backend/base.py \
53 src/backend/blog.py \
54 src/backend/countries.py \
55 src/backend/database.py \
56 src/backend/decorators.py \
57 src/backend/fireinfo.py \
58 src/backend/geoip.py \
59 src/backend/hwdata.py \
60 src/backend/iuse.py \
61 src/backend/memcached.py \
62 src/backend/messages.py \
63 src/backend/mirrors.py \
64 src/backend/misc.py \
65 src/backend/netboot.py \
66 src/backend/nopaste.py \
67 src/backend/releases.py \
68 src/backend/settings.py \
69 src/backend/talk.py \
70 src/backend/tweets.py \
71 src/backend/util.py \
72 src/backend/wiki.py \
73 src/backend/zeiterfassung.py
74
75 backenddir = $(pythondir)/ipfire
76
77 # ------------------------------------------------------------------------------
78
79 web_PYTHON = \
80 src/web/__init__.py \
81 src/web/auth.py \
82 src/web/base.py \
83 src/web/blog.py \
84 src/web/boot.py \
85 src/web/donate.py \
86 src/web/download.py \
87 src/web/fireinfo.py \
88 src/web/handlers.py \
89 src/web/iuse.py \
90 src/web/location.py \
91 src/web/mirrors.py \
92 src/web/newsletter.py \
93 src/web/nopaste.py \
94 src/web/people.py \
95 src/web/ui_modules.py \
96 src/web/wiki.py
97
98 webdir = $(backenddir)/web
99
100 # ------------------------------------------------------------------------------
101
102 # TODO install the base for now and add all other templates later
103
104 templates_DATA = \
105 src/templates/base.html \
106 src/templates/error.html \
107 src/templates/index.html
108
109 templatesdir = $(datadir)/templates
110
111 templates_auth_DATA = \
112 src/templates/auth/activate.html \
113 src/templates/auth/login.html \
114 src/templates/auth/register.html \
115 src/templates/auth/register-success.html
116
117 templates_authdir = $(templatesdir)/auth
118
119 templates_auth_messages_DATA = \
120 src/templates/auth/messages/register.txt
121
122 templates_auth_messagesdir = $(templates_authdir)/messages
123
124 templates_blog_DATA = \
125 src/templates/blog/author.html \
126 src/templates/blog/base.html \
127 src/templates/blog/compose.html \
128 src/templates/blog/delete.html \
129 src/templates/blog/drafts.html \
130 src/templates/blog/feed.xml \
131 src/templates/blog/index.html \
132 src/templates/blog/post.html \
133 src/templates/blog/publish.html \
134 src/templates/blog/search-results.html \
135 src/templates/blog/tag.html \
136 src/templates/blog/year.html
137
138 templates_blogdir = $(templatesdir)/blog
139
140 templates_blog_modules_DATA = \
141 src/templates/blog/modules/history-navigation.html \
142 src/templates/blog/modules/list.html \
143 src/templates/blog/modules/post.html \
144 src/templates/blog/modules/posts.html
145
146 templates_blog_modulesdir = $(templates_blogdir)/modules
147
148 templates_donate_DATA = \
149 src/templates/donate/donate.html \
150 src/templates/donate/error.html \
151 src/templates/donate/thank-you.html
152
153 templates_donatedir = $(templatesdir)/donate
154
155 templates_download_DATA = \
156 src/templates/download/release.html
157
158 templates_downloaddir = $(templatesdir)/download
159
160 templates_fireinfo_DATA = \
161 src/templates/fireinfo/driver.html \
162 src/templates/fireinfo/index.html \
163 src/templates/fireinfo/i-use-1.png \
164 src/templates/fireinfo/processors.html \
165 src/templates/fireinfo/profile.html \
166 src/templates/fireinfo/releases.html \
167 src/templates/fireinfo/vendor.html \
168 src/templates/fireinfo/vendors.html
169
170 templates_fireinfodir = $(templatesdir)/fireinfo
171
172 templates_fireinfo_modules_DATA = \
173 src/templates/fireinfo/modules/table-devices-and-groups.html \
174 src/templates/fireinfo/modules/table-devices.html
175
176 templates_fireinfo_modulesdir = $(templates_fireinfodir)/modules
177
178 templates_location_DATA = \
179 src/templates/location/base.html \
180 src/templates/location/blacklists.html \
181 src/templates/location/lookup.html
182
183 templates_locationdir = $(templatesdir)/location
184
185 templates_mirrors_DATA = \
186 src/templates/mirrors/index.html \
187 src/templates/mirrors/mirror.html
188
189 templates_mirrorsdir = $(templatesdir)/mirrors
190
191 templates_modules_DATA = \
192 src/templates/modules/map.html \
193 src/templates/modules/progress-bar.html
194
195 templates_modulesdir = $(templatesdir)/modules
196
197 templates_netboot_DATA = \
198 src/templates/netboot/menu.cfg \
199 src/templates/netboot/menu-config.cfg \
200 src/templates/netboot/menu-header.cfg \
201 src/templates/netboot/menu-separator.cfg \
202 src/templates/netboot/premenu.cfg
203
204 templates_netbootdir = $(templatesdir)/netboot
205
206 templates_newsletter_DATA = \
207 src/templates/newsletter/subscribed.html
208
209 templates_newsletterdir = $(templatesdir)/newsletter
210
211 templates_nopaste_DATA = \
212 src/templates/nopaste/create.html \
213 src/templates/nopaste/view.html
214
215 templates_nopastedir = $(templatesdir)/nopaste
216
217 templates_nopaste_modules_DATA = \
218 src/templates/nopaste/modules/code.html
219
220 templates_nopaste_modulesdir = $(templates_nopastedir)/modules
221
222 templates_people_DATA = \
223 src/templates/people/base.html \
224 src/templates/people/conferences.html \
225 src/templates/people/call.html \
226 src/templates/people/calls.html \
227 src/templates/people/index.html \
228 src/templates/people/passwd.html \
229 src/templates/people/search.html \
230 src/templates/people/sip.html \
231 src/templates/people/user.html \
232 src/templates/people/user-edit.html \
233 src/templates/people/users.html
234
235 templates_peopledir = $(templatesdir)/people
236
237 templates_people_modules_DATA = \
238 src/templates/people/modules/accounts-list.html \
239 src/templates/people/modules/cdr.html \
240 src/templates/people/modules/channels.html \
241 src/templates/people/modules/mos.html \
242 src/templates/people/modules/password.html \
243 src/templates/people/modules/password.js \
244 src/templates/people/modules/registrations.html \
245 src/templates/people/modules/sip-status.html
246
247 templates_people_modulesdir = $(templates_peopledir)/modules
248
249 templates_people_ssh_keys_DATA = \
250 src/templates/people/ssh-keys/delete.html \
251 src/templates/people/ssh-keys/error.html \
252 src/templates/people/ssh-keys/error-invalid-key.html \
253 src/templates/people/ssh-keys/index.html \
254 src/templates/people/ssh-keys/upload.html
255
256 templates_people_ssh_keysdir = $(templates_peopledir)/ssh-keys
257
258 templates_static_DATA = \
259 src/templates/static/blocked.html \
260 src/templates/static/chat.html \
261 src/templates/static/features.html \
262 src/templates/static/legal.html \
263 src/templates/static/support.html
264
265 templates_staticdir = $(templatesdir)/static
266
267 templates_wiki_DATA = \
268 src/templates/wiki/404.html \
269 src/templates/wiki/base.html \
270 src/templates/wiki/diff.html \
271 src/templates/wiki/edit.html \
272 src/templates/wiki/page.html \
273 src/templates/wiki/recent-changes.html \
274 src/templates/wiki/revisions.html \
275 src/templates/wiki/search-results.html \
276 src/templates/wiki/watchlist.html
277
278 templates_wikidir = $(templatesdir)/wiki
279
280 templates_wiki_files_DATA = \
281 src/templates/wiki/files/detail.html \
282 src/templates/wiki/files/index.html
283
284 templates_wiki_filesdir = $(templates_wikidir)/files
285
286 templates_wiki_messages_DATA = \
287 src/templates/wiki/messages/page-changed.txt
288
289 templates_wiki_messagesdir = $(templates_wikidir)/messages
290
291 templates_wiki_modules_DATA = \
292 src/templates/wiki/modules/diff.html \
293 src/templates/wiki/modules/list.html \
294 src/templates/wiki/modules/navbar.html
295
296 templates_wiki_modulesdir = $(templates_wikidir)/modules
297
298 # ------------------------------------------------------------------------------
299
300 SCSS_FILES = \
301 src/scss/style.scss \
302 src/scss/_fonts.scss \
303 src/scss/_icons.scss \
304 src/scss/_variables.scss
305
306 EXTRA_DIST += \
307 src/scss/listing.scss \
308 src/templates/messages/main.scss
309
310 CLEANFILES += \
311 src/templates/messages/main.css
312
313 static_DATA = \
314 src/static/favicon.ico \
315 src/static/robots.txt \
316 src/scss/fonts.css \
317 src/scss/listing.css \
318 src/scss/main.css
319
320 CLEANFILES += \
321 src/scss/fonts.css \
322 src/scss/listing.css \
323 src/scss/main.css
324
325 EXTRA_DIST += \
326 $(SCSS_FILES)
327
328 staticdir = $(datadir)/static
329
330 static_css_DATA = \
331 src/static/css/prettify.css
332
333 static_cssdir = $(staticdir)/css
334
335 static_flagsdir = $(staticdir)/flags
336
337 static_flags_1x1_DATA = \
338 src/flag-icons/flags/1x1/ad.svg \
339 src/flag-icons/flags/1x1/ae.svg \
340 src/flag-icons/flags/1x1/af.svg \
341 src/flag-icons/flags/1x1/ag.svg \
342 src/flag-icons/flags/1x1/ai.svg \
343 src/flag-icons/flags/1x1/al.svg \
344 src/flag-icons/flags/1x1/am.svg \
345 src/flag-icons/flags/1x1/ao.svg \
346 src/flag-icons/flags/1x1/aq.svg \
347 src/flag-icons/flags/1x1/ar.svg \
348 src/flag-icons/flags/1x1/as.svg \
349 src/flag-icons/flags/1x1/at.svg \
350 src/flag-icons/flags/1x1/au.svg \
351 src/flag-icons/flags/1x1/aw.svg \
352 src/flag-icons/flags/1x1/ax.svg \
353 src/flag-icons/flags/1x1/az.svg \
354 src/flag-icons/flags/1x1/ba.svg \
355 src/flag-icons/flags/1x1/bb.svg \
356 src/flag-icons/flags/1x1/bd.svg \
357 src/flag-icons/flags/1x1/be.svg \
358 src/flag-icons/flags/1x1/bf.svg \
359 src/flag-icons/flags/1x1/bg.svg \
360 src/flag-icons/flags/1x1/bh.svg \
361 src/flag-icons/flags/1x1/bi.svg \
362 src/flag-icons/flags/1x1/bj.svg \
363 src/flag-icons/flags/1x1/bl.svg \
364 src/flag-icons/flags/1x1/bm.svg \
365 src/flag-icons/flags/1x1/bn.svg \
366 src/flag-icons/flags/1x1/bo.svg \
367 src/flag-icons/flags/1x1/bq.svg \
368 src/flag-icons/flags/1x1/br.svg \
369 src/flag-icons/flags/1x1/bs.svg \
370 src/flag-icons/flags/1x1/bt.svg \
371 src/flag-icons/flags/1x1/bv.svg \
372 src/flag-icons/flags/1x1/bw.svg \
373 src/flag-icons/flags/1x1/by.svg \
374 src/flag-icons/flags/1x1/bz.svg \
375 src/flag-icons/flags/1x1/ca.svg \
376 src/flag-icons/flags/1x1/cc.svg \
377 src/flag-icons/flags/1x1/cd.svg \
378 src/flag-icons/flags/1x1/cf.svg \
379 src/flag-icons/flags/1x1/cg.svg \
380 src/flag-icons/flags/1x1/ch.svg \
381 src/flag-icons/flags/1x1/ci.svg \
382 src/flag-icons/flags/1x1/ck.svg \
383 src/flag-icons/flags/1x1/cl.svg \
384 src/flag-icons/flags/1x1/cm.svg \
385 src/flag-icons/flags/1x1/cn.svg \
386 src/flag-icons/flags/1x1/co.svg \
387 src/flag-icons/flags/1x1/cr.svg \
388 src/flag-icons/flags/1x1/cu.svg \
389 src/flag-icons/flags/1x1/cv.svg \
390 src/flag-icons/flags/1x1/cw.svg \
391 src/flag-icons/flags/1x1/cx.svg \
392 src/flag-icons/flags/1x1/cy.svg \
393 src/flag-icons/flags/1x1/cz.svg \
394 src/flag-icons/flags/1x1/de.svg \
395 src/flag-icons/flags/1x1/dj.svg \
396 src/flag-icons/flags/1x1/dk.svg \
397 src/flag-icons/flags/1x1/dm.svg \
398 src/flag-icons/flags/1x1/do.svg \
399 src/flag-icons/flags/1x1/dz.svg \
400 src/flag-icons/flags/1x1/ec.svg \
401 src/flag-icons/flags/1x1/ee.svg \
402 src/flag-icons/flags/1x1/eg.svg \
403 src/flag-icons/flags/1x1/eh.svg \
404 src/flag-icons/flags/1x1/er.svg \
405 src/flag-icons/flags/1x1/es-ct.svg \
406 src/flag-icons/flags/1x1/es.svg \
407 src/flag-icons/flags/1x1/et.svg \
408 src/flag-icons/flags/1x1/eu.svg \
409 src/flag-icons/flags/1x1/fi.svg \
410 src/flag-icons/flags/1x1/fj.svg \
411 src/flag-icons/flags/1x1/fk.svg \
412 src/flag-icons/flags/1x1/fm.svg \
413 src/flag-icons/flags/1x1/fo.svg \
414 src/flag-icons/flags/1x1/fr.svg \
415 src/flag-icons/flags/1x1/ga.svg \
416 src/flag-icons/flags/1x1/gb-eng.svg \
417 src/flag-icons/flags/1x1/gb-nir.svg \
418 src/flag-icons/flags/1x1/gb-sct.svg \
419 src/flag-icons/flags/1x1/gb.svg \
420 src/flag-icons/flags/1x1/gb-wls.svg \
421 src/flag-icons/flags/1x1/gd.svg \
422 src/flag-icons/flags/1x1/ge.svg \
423 src/flag-icons/flags/1x1/gf.svg \
424 src/flag-icons/flags/1x1/gg.svg \
425 src/flag-icons/flags/1x1/gh.svg \
426 src/flag-icons/flags/1x1/gi.svg \
427 src/flag-icons/flags/1x1/gl.svg \
428 src/flag-icons/flags/1x1/gm.svg \
429 src/flag-icons/flags/1x1/gn.svg \
430 src/flag-icons/flags/1x1/gp.svg \
431 src/flag-icons/flags/1x1/gq.svg \
432 src/flag-icons/flags/1x1/gr.svg \
433 src/flag-icons/flags/1x1/gs.svg \
434 src/flag-icons/flags/1x1/gt.svg \
435 src/flag-icons/flags/1x1/gu.svg \
436 src/flag-icons/flags/1x1/gw.svg \
437 src/flag-icons/flags/1x1/gy.svg \
438 src/flag-icons/flags/1x1/hk.svg \
439 src/flag-icons/flags/1x1/hm.svg \
440 src/flag-icons/flags/1x1/hn.svg \
441 src/flag-icons/flags/1x1/hr.svg \
442 src/flag-icons/flags/1x1/ht.svg \
443 src/flag-icons/flags/1x1/hu.svg \
444 src/flag-icons/flags/1x1/id.svg \
445 src/flag-icons/flags/1x1/ie.svg \
446 src/flag-icons/flags/1x1/il.svg \
447 src/flag-icons/flags/1x1/im.svg \
448 src/flag-icons/flags/1x1/in.svg \
449 src/flag-icons/flags/1x1/io.svg \
450 src/flag-icons/flags/1x1/iq.svg \
451 src/flag-icons/flags/1x1/ir.svg \
452 src/flag-icons/flags/1x1/is.svg \
453 src/flag-icons/flags/1x1/it.svg \
454 src/flag-icons/flags/1x1/je.svg \
455 src/flag-icons/flags/1x1/jm.svg \
456 src/flag-icons/flags/1x1/jo.svg \
457 src/flag-icons/flags/1x1/jp.svg \
458 src/flag-icons/flags/1x1/ke.svg \
459 src/flag-icons/flags/1x1/kg.svg \
460 src/flag-icons/flags/1x1/kh.svg \
461 src/flag-icons/flags/1x1/ki.svg \
462 src/flag-icons/flags/1x1/km.svg \
463 src/flag-icons/flags/1x1/kn.svg \
464 src/flag-icons/flags/1x1/kp.svg \
465 src/flag-icons/flags/1x1/kr.svg \
466 src/flag-icons/flags/1x1/kw.svg \
467 src/flag-icons/flags/1x1/ky.svg \
468 src/flag-icons/flags/1x1/kz.svg \
469 src/flag-icons/flags/1x1/la.svg \
470 src/flag-icons/flags/1x1/lb.svg \
471 src/flag-icons/flags/1x1/lc.svg \
472 src/flag-icons/flags/1x1/li.svg \
473 src/flag-icons/flags/1x1/lk.svg \
474 src/flag-icons/flags/1x1/lr.svg \
475 src/flag-icons/flags/1x1/ls.svg \
476 src/flag-icons/flags/1x1/lt.svg \
477 src/flag-icons/flags/1x1/lu.svg \
478 src/flag-icons/flags/1x1/lv.svg \
479 src/flag-icons/flags/1x1/ly.svg \
480 src/flag-icons/flags/1x1/ma.svg \
481 src/flag-icons/flags/1x1/mc.svg \
482 src/flag-icons/flags/1x1/md.svg \
483 src/flag-icons/flags/1x1/me.svg \
484 src/flag-icons/flags/1x1/mf.svg \
485 src/flag-icons/flags/1x1/mg.svg \
486 src/flag-icons/flags/1x1/mh.svg \
487 src/flag-icons/flags/1x1/mk.svg \
488 src/flag-icons/flags/1x1/ml.svg \
489 src/flag-icons/flags/1x1/mm.svg \
490 src/flag-icons/flags/1x1/mn.svg \
491 src/flag-icons/flags/1x1/mo.svg \
492 src/flag-icons/flags/1x1/mp.svg \
493 src/flag-icons/flags/1x1/mq.svg \
494 src/flag-icons/flags/1x1/mr.svg \
495 src/flag-icons/flags/1x1/ms.svg \
496 src/flag-icons/flags/1x1/mt.svg \
497 src/flag-icons/flags/1x1/mu.svg \
498 src/flag-icons/flags/1x1/mv.svg \
499 src/flag-icons/flags/1x1/mw.svg \
500 src/flag-icons/flags/1x1/mx.svg \
501 src/flag-icons/flags/1x1/my.svg \
502 src/flag-icons/flags/1x1/mz.svg \
503 src/flag-icons/flags/1x1/na.svg \
504 src/flag-icons/flags/1x1/nc.svg \
505 src/flag-icons/flags/1x1/ne.svg \
506 src/flag-icons/flags/1x1/nf.svg \
507 src/flag-icons/flags/1x1/ng.svg \
508 src/flag-icons/flags/1x1/ni.svg \
509 src/flag-icons/flags/1x1/nl.svg \
510 src/flag-icons/flags/1x1/no.svg \
511 src/flag-icons/flags/1x1/np.svg \
512 src/flag-icons/flags/1x1/nr.svg \
513 src/flag-icons/flags/1x1/nu.svg \
514 src/flag-icons/flags/1x1/nz.svg \
515 src/flag-icons/flags/1x1/om.svg \
516 src/flag-icons/flags/1x1/pa.svg \
517 src/flag-icons/flags/1x1/pe.svg \
518 src/flag-icons/flags/1x1/pf.svg \
519 src/flag-icons/flags/1x1/pg.svg \
520 src/flag-icons/flags/1x1/ph.svg \
521 src/flag-icons/flags/1x1/pk.svg \
522 src/flag-icons/flags/1x1/pl.svg \
523 src/flag-icons/flags/1x1/pm.svg \
524 src/flag-icons/flags/1x1/pn.svg \
525 src/flag-icons/flags/1x1/pr.svg \
526 src/flag-icons/flags/1x1/ps.svg \
527 src/flag-icons/flags/1x1/pt.svg \
528 src/flag-icons/flags/1x1/pw.svg \
529 src/flag-icons/flags/1x1/py.svg \
530 src/flag-icons/flags/1x1/qa.svg \
531 src/flag-icons/flags/1x1/re.svg \
532 src/flag-icons/flags/1x1/ro.svg \
533 src/flag-icons/flags/1x1/rs.svg \
534 src/flag-icons/flags/1x1/ru.svg \
535 src/flag-icons/flags/1x1/rw.svg \
536 src/flag-icons/flags/1x1/sa.svg \
537 src/flag-icons/flags/1x1/sb.svg \
538 src/flag-icons/flags/1x1/sc.svg \
539 src/flag-icons/flags/1x1/sd.svg \
540 src/flag-icons/flags/1x1/se.svg \
541 src/flag-icons/flags/1x1/sg.svg \
542 src/flag-icons/flags/1x1/sh.svg \
543 src/flag-icons/flags/1x1/si.svg \
544 src/flag-icons/flags/1x1/sj.svg \
545 src/flag-icons/flags/1x1/sk.svg \
546 src/flag-icons/flags/1x1/sl.svg \
547 src/flag-icons/flags/1x1/sm.svg \
548 src/flag-icons/flags/1x1/sn.svg \
549 src/flag-icons/flags/1x1/so.svg \
550 src/flag-icons/flags/1x1/sr.svg \
551 src/flag-icons/flags/1x1/ss.svg \
552 src/flag-icons/flags/1x1/st.svg \
553 src/flag-icons/flags/1x1/sv.svg \
554 src/flag-icons/flags/1x1/sx.svg \
555 src/flag-icons/flags/1x1/sy.svg \
556 src/flag-icons/flags/1x1/sz.svg \
557 src/flag-icons/flags/1x1/tc.svg \
558 src/flag-icons/flags/1x1/td.svg \
559 src/flag-icons/flags/1x1/tf.svg \
560 src/flag-icons/flags/1x1/tg.svg \
561 src/flag-icons/flags/1x1/th.svg \
562 src/flag-icons/flags/1x1/tj.svg \
563 src/flag-icons/flags/1x1/tk.svg \
564 src/flag-icons/flags/1x1/tl.svg \
565 src/flag-icons/flags/1x1/tm.svg \
566 src/flag-icons/flags/1x1/tn.svg \
567 src/flag-icons/flags/1x1/to.svg \
568 src/flag-icons/flags/1x1/tr.svg \
569 src/flag-icons/flags/1x1/tt.svg \
570 src/flag-icons/flags/1x1/tv.svg \
571 src/flag-icons/flags/1x1/tw.svg \
572 src/flag-icons/flags/1x1/tz.svg \
573 src/flag-icons/flags/1x1/ua.svg \
574 src/flag-icons/flags/1x1/ug.svg \
575 src/flag-icons/flags/1x1/um.svg \
576 src/flag-icons/flags/1x1/un.svg \
577 src/flag-icons/flags/1x1/us.svg \
578 src/flag-icons/flags/1x1/uy.svg \
579 src/flag-icons/flags/1x1/uz.svg \
580 src/flag-icons/flags/1x1/va.svg \
581 src/flag-icons/flags/1x1/vc.svg \
582 src/flag-icons/flags/1x1/ve.svg \
583 src/flag-icons/flags/1x1/vg.svg \
584 src/flag-icons/flags/1x1/vi.svg \
585 src/flag-icons/flags/1x1/vn.svg \
586 src/flag-icons/flags/1x1/vu.svg \
587 src/flag-icons/flags/1x1/wf.svg \
588 src/flag-icons/flags/1x1/ws.svg \
589 src/flag-icons/flags/1x1/xk.svg \
590 src/flag-icons/flags/1x1/ye.svg \
591 src/flag-icons/flags/1x1/yt.svg \
592 src/flag-icons/flags/1x1/za.svg \
593 src/flag-icons/flags/1x1/zm.svg \
594 src/flag-icons/flags/1x1/zw.svg
595
596 static_flags_1x1dir = $(static_flagsdir)/1x1
597
598 static_flags_4x3_DATA = \
599 src/flag-icons/flags/4x3/ad.svg \
600 src/flag-icons/flags/4x3/ae.svg \
601 src/flag-icons/flags/4x3/af.svg \
602 src/flag-icons/flags/4x3/ag.svg \
603 src/flag-icons/flags/4x3/ai.svg \
604 src/flag-icons/flags/4x3/al.svg \
605 src/flag-icons/flags/4x3/am.svg \
606 src/flag-icons/flags/4x3/ao.svg \
607 src/flag-icons/flags/4x3/aq.svg \
608 src/flag-icons/flags/4x3/ar.svg \
609 src/flag-icons/flags/4x3/as.svg \
610 src/flag-icons/flags/4x3/at.svg \
611 src/flag-icons/flags/4x3/au.svg \
612 src/flag-icons/flags/4x3/aw.svg \
613 src/flag-icons/flags/4x3/ax.svg \
614 src/flag-icons/flags/4x3/az.svg \
615 src/flag-icons/flags/4x3/ba.svg \
616 src/flag-icons/flags/4x3/bb.svg \
617 src/flag-icons/flags/4x3/bd.svg \
618 src/flag-icons/flags/4x3/be.svg \
619 src/flag-icons/flags/4x3/bf.svg \
620 src/flag-icons/flags/4x3/bg.svg \
621 src/flag-icons/flags/4x3/bh.svg \
622 src/flag-icons/flags/4x3/bi.svg \
623 src/flag-icons/flags/4x3/bj.svg \
624 src/flag-icons/flags/4x3/bl.svg \
625 src/flag-icons/flags/4x3/bm.svg \
626 src/flag-icons/flags/4x3/bn.svg \
627 src/flag-icons/flags/4x3/bo.svg \
628 src/flag-icons/flags/4x3/bq.svg \
629 src/flag-icons/flags/4x3/br.svg \
630 src/flag-icons/flags/4x3/bs.svg \
631 src/flag-icons/flags/4x3/bt.svg \
632 src/flag-icons/flags/4x3/bv.svg \
633 src/flag-icons/flags/4x3/bw.svg \
634 src/flag-icons/flags/4x3/by.svg \
635 src/flag-icons/flags/4x3/bz.svg \
636 src/flag-icons/flags/4x3/ca.svg \
637 src/flag-icons/flags/4x3/cc.svg \
638 src/flag-icons/flags/4x3/cd.svg \
639 src/flag-icons/flags/4x3/cf.svg \
640 src/flag-icons/flags/4x3/cg.svg \
641 src/flag-icons/flags/4x3/ch.svg \
642 src/flag-icons/flags/4x3/ci.svg \
643 src/flag-icons/flags/4x3/ck.svg \
644 src/flag-icons/flags/4x3/cl.svg \
645 src/flag-icons/flags/4x3/cm.svg \
646 src/flag-icons/flags/4x3/cn.svg \
647 src/flag-icons/flags/4x3/co.svg \
648 src/flag-icons/flags/4x3/cr.svg \
649 src/flag-icons/flags/4x3/cu.svg \
650 src/flag-icons/flags/4x3/cv.svg \
651 src/flag-icons/flags/4x3/cw.svg \
652 src/flag-icons/flags/4x3/cx.svg \
653 src/flag-icons/flags/4x3/cy.svg \
654 src/flag-icons/flags/4x3/cz.svg \
655 src/flag-icons/flags/4x3/de.svg \
656 src/flag-icons/flags/4x3/dj.svg \
657 src/flag-icons/flags/4x3/dk.svg \
658 src/flag-icons/flags/4x3/dm.svg \
659 src/flag-icons/flags/4x3/do.svg \
660 src/flag-icons/flags/4x3/dz.svg \
661 src/flag-icons/flags/4x3/ec.svg \
662 src/flag-icons/flags/4x3/ee.svg \
663 src/flag-icons/flags/4x3/eg.svg \
664 src/flag-icons/flags/4x3/eh.svg \
665 src/flag-icons/flags/4x3/er.svg \
666 src/flag-icons/flags/4x3/es-ct.svg \
667 src/flag-icons/flags/4x3/es.svg \
668 src/flag-icons/flags/4x3/et.svg \
669 src/flag-icons/flags/4x3/eu.svg \
670 src/flag-icons/flags/4x3/fi.svg \
671 src/flag-icons/flags/4x3/fj.svg \
672 src/flag-icons/flags/4x3/fk.svg \
673 src/flag-icons/flags/4x3/fm.svg \
674 src/flag-icons/flags/4x3/fo.svg \
675 src/flag-icons/flags/4x3/fr.svg \
676 src/flag-icons/flags/4x3/ga.svg \
677 src/flag-icons/flags/4x3/gb-eng.svg \
678 src/flag-icons/flags/4x3/gb-nir.svg \
679 src/flag-icons/flags/4x3/gb-sct.svg \
680 src/flag-icons/flags/4x3/gb.svg \
681 src/flag-icons/flags/4x3/gb-wls.svg \
682 src/flag-icons/flags/4x3/gd.svg \
683 src/flag-icons/flags/4x3/ge.svg \
684 src/flag-icons/flags/4x3/gf.svg \
685 src/flag-icons/flags/4x3/gg.svg \
686 src/flag-icons/flags/4x3/gh.svg \
687 src/flag-icons/flags/4x3/gi.svg \
688 src/flag-icons/flags/4x3/gl.svg \
689 src/flag-icons/flags/4x3/gm.svg \
690 src/flag-icons/flags/4x3/gn.svg \
691 src/flag-icons/flags/4x3/gp.svg \
692 src/flag-icons/flags/4x3/gq.svg \
693 src/flag-icons/flags/4x3/gr.svg \
694 src/flag-icons/flags/4x3/gs.svg \
695 src/flag-icons/flags/4x3/gt.svg \
696 src/flag-icons/flags/4x3/gu.svg \
697 src/flag-icons/flags/4x3/gw.svg \
698 src/flag-icons/flags/4x3/gy.svg \
699 src/flag-icons/flags/4x3/hk.svg \
700 src/flag-icons/flags/4x3/hm.svg \
701 src/flag-icons/flags/4x3/hn.svg \
702 src/flag-icons/flags/4x3/hr.svg \
703 src/flag-icons/flags/4x3/ht.svg \
704 src/flag-icons/flags/4x3/hu.svg \
705 src/flag-icons/flags/4x3/id.svg \
706 src/flag-icons/flags/4x3/ie.svg \
707 src/flag-icons/flags/4x3/il.svg \
708 src/flag-icons/flags/4x3/im.svg \
709 src/flag-icons/flags/4x3/in.svg \
710 src/flag-icons/flags/4x3/io.svg \
711 src/flag-icons/flags/4x3/iq.svg \
712 src/flag-icons/flags/4x3/ir.svg \
713 src/flag-icons/flags/4x3/is.svg \
714 src/flag-icons/flags/4x3/it.svg \
715 src/flag-icons/flags/4x3/je.svg \
716 src/flag-icons/flags/4x3/jm.svg \
717 src/flag-icons/flags/4x3/jo.svg \
718 src/flag-icons/flags/4x3/jp.svg \
719 src/flag-icons/flags/4x3/ke.svg \
720 src/flag-icons/flags/4x3/kg.svg \
721 src/flag-icons/flags/4x3/kh.svg \
722 src/flag-icons/flags/4x3/ki.svg \
723 src/flag-icons/flags/4x3/km.svg \
724 src/flag-icons/flags/4x3/kn.svg \
725 src/flag-icons/flags/4x3/kp.svg \
726 src/flag-icons/flags/4x3/kr.svg \
727 src/flag-icons/flags/4x3/kw.svg \
728 src/flag-icons/flags/4x3/ky.svg \
729 src/flag-icons/flags/4x3/kz.svg \
730 src/flag-icons/flags/4x3/la.svg \
731 src/flag-icons/flags/4x3/lb.svg \
732 src/flag-icons/flags/4x3/lc.svg \
733 src/flag-icons/flags/4x3/li.svg \
734 src/flag-icons/flags/4x3/lk.svg \
735 src/flag-icons/flags/4x3/lr.svg \
736 src/flag-icons/flags/4x3/ls.svg \
737 src/flag-icons/flags/4x3/lt.svg \
738 src/flag-icons/flags/4x3/lu.svg \
739 src/flag-icons/flags/4x3/lv.svg \
740 src/flag-icons/flags/4x3/ly.svg \
741 src/flag-icons/flags/4x3/ma.svg \
742 src/flag-icons/flags/4x3/mc.svg \
743 src/flag-icons/flags/4x3/md.svg \
744 src/flag-icons/flags/4x3/me.svg \
745 src/flag-icons/flags/4x3/mf.svg \
746 src/flag-icons/flags/4x3/mg.svg \
747 src/flag-icons/flags/4x3/mh.svg \
748 src/flag-icons/flags/4x3/mk.svg \
749 src/flag-icons/flags/4x3/ml.svg \
750 src/flag-icons/flags/4x3/mm.svg \
751 src/flag-icons/flags/4x3/mn.svg \
752 src/flag-icons/flags/4x3/mo.svg \
753 src/flag-icons/flags/4x3/mp.svg \
754 src/flag-icons/flags/4x3/mq.svg \
755 src/flag-icons/flags/4x3/mr.svg \
756 src/flag-icons/flags/4x3/ms.svg \
757 src/flag-icons/flags/4x3/mt.svg \
758 src/flag-icons/flags/4x3/mu.svg \
759 src/flag-icons/flags/4x3/mv.svg \
760 src/flag-icons/flags/4x3/mw.svg \
761 src/flag-icons/flags/4x3/mx.svg \
762 src/flag-icons/flags/4x3/my.svg \
763 src/flag-icons/flags/4x3/mz.svg \
764 src/flag-icons/flags/4x3/na.svg \
765 src/flag-icons/flags/4x3/nc.svg \
766 src/flag-icons/flags/4x3/ne.svg \
767 src/flag-icons/flags/4x3/nf.svg \
768 src/flag-icons/flags/4x3/ng.svg \
769 src/flag-icons/flags/4x3/ni.svg \
770 src/flag-icons/flags/4x3/nl.svg \
771 src/flag-icons/flags/4x3/no.svg \
772 src/flag-icons/flags/4x3/np.svg \
773 src/flag-icons/flags/4x3/nr.svg \
774 src/flag-icons/flags/4x3/nu.svg \
775 src/flag-icons/flags/4x3/nz.svg \
776 src/flag-icons/flags/4x3/om.svg \
777 src/flag-icons/flags/4x3/pa.svg \
778 src/flag-icons/flags/4x3/pe.svg \
779 src/flag-icons/flags/4x3/pf.svg \
780 src/flag-icons/flags/4x3/pg.svg \
781 src/flag-icons/flags/4x3/ph.svg \
782 src/flag-icons/flags/4x3/pk.svg \
783 src/flag-icons/flags/4x3/pl.svg \
784 src/flag-icons/flags/4x3/pm.svg \
785 src/flag-icons/flags/4x3/pn.svg \
786 src/flag-icons/flags/4x3/pr.svg \
787 src/flag-icons/flags/4x3/ps.svg \
788 src/flag-icons/flags/4x3/pt.svg \
789 src/flag-icons/flags/4x3/pw.svg \
790 src/flag-icons/flags/4x3/py.svg \
791 src/flag-icons/flags/4x3/qa.svg \
792 src/flag-icons/flags/4x3/re.svg \
793 src/flag-icons/flags/4x3/ro.svg \
794 src/flag-icons/flags/4x3/rs.svg \
795 src/flag-icons/flags/4x3/ru.svg \
796 src/flag-icons/flags/4x3/rw.svg \
797 src/flag-icons/flags/4x3/sa.svg \
798 src/flag-icons/flags/4x3/sb.svg \
799 src/flag-icons/flags/4x3/sc.svg \
800 src/flag-icons/flags/4x3/sd.svg \
801 src/flag-icons/flags/4x3/se.svg \
802 src/flag-icons/flags/4x3/sg.svg \
803 src/flag-icons/flags/4x3/sh.svg \
804 src/flag-icons/flags/4x3/si.svg \
805 src/flag-icons/flags/4x3/sj.svg \
806 src/flag-icons/flags/4x3/sk.svg \
807 src/flag-icons/flags/4x3/sl.svg \
808 src/flag-icons/flags/4x3/sm.svg \
809 src/flag-icons/flags/4x3/sn.svg \
810 src/flag-icons/flags/4x3/so.svg \
811 src/flag-icons/flags/4x3/sr.svg \
812 src/flag-icons/flags/4x3/ss.svg \
813 src/flag-icons/flags/4x3/st.svg \
814 src/flag-icons/flags/4x3/sv.svg \
815 src/flag-icons/flags/4x3/sx.svg \
816 src/flag-icons/flags/4x3/sy.svg \
817 src/flag-icons/flags/4x3/sz.svg \
818 src/flag-icons/flags/4x3/tc.svg \
819 src/flag-icons/flags/4x3/td.svg \
820 src/flag-icons/flags/4x3/tf.svg \
821 src/flag-icons/flags/4x3/tg.svg \
822 src/flag-icons/flags/4x3/th.svg \
823 src/flag-icons/flags/4x3/tj.svg \
824 src/flag-icons/flags/4x3/tk.svg \
825 src/flag-icons/flags/4x3/tl.svg \
826 src/flag-icons/flags/4x3/tm.svg \
827 src/flag-icons/flags/4x3/tn.svg \
828 src/flag-icons/flags/4x3/to.svg \
829 src/flag-icons/flags/4x3/tr.svg \
830 src/flag-icons/flags/4x3/tt.svg \
831 src/flag-icons/flags/4x3/tv.svg \
832 src/flag-icons/flags/4x3/tw.svg \
833 src/flag-icons/flags/4x3/tz.svg \
834 src/flag-icons/flags/4x3/ua.svg \
835 src/flag-icons/flags/4x3/ug.svg \
836 src/flag-icons/flags/4x3/um.svg \
837 src/flag-icons/flags/4x3/un.svg \
838 src/flag-icons/flags/4x3/us.svg \
839 src/flag-icons/flags/4x3/uy.svg \
840 src/flag-icons/flags/4x3/uz.svg \
841 src/flag-icons/flags/4x3/va.svg \
842 src/flag-icons/flags/4x3/vc.svg \
843 src/flag-icons/flags/4x3/ve.svg \
844 src/flag-icons/flags/4x3/vg.svg \
845 src/flag-icons/flags/4x3/vi.svg \
846 src/flag-icons/flags/4x3/vn.svg \
847 src/flag-icons/flags/4x3/vu.svg \
848 src/flag-icons/flags/4x3/wf.svg \
849 src/flag-icons/flags/4x3/ws.svg \
850 src/flag-icons/flags/4x3/xk.svg \
851 src/flag-icons/flags/4x3/ye.svg \
852 src/flag-icons/flags/4x3/yt.svg \
853 src/flag-icons/flags/4x3/za.svg \
854 src/flag-icons/flags/4x3/zm.svg \
855 src/flag-icons/flags/4x3/zw.svg
856
857 static_flags_4x3dir = $(static_flagsdir)/4x3
858
859 static_fonts_DATA = \
860 src/fonts/ofl/mukta/Mukta-Bold.ttf \
861 src/fonts/ofl/mukta/Mukta-ExtraBold.ttf \
862 src/fonts/ofl/mukta/Mukta-ExtraLight.ttf \
863 src/fonts/ofl/mukta/Mukta-Light.ttf \
864 src/fonts/ofl/mukta/Mukta-Medium.ttf \
865 src/fonts/ofl/mukta/Mukta-Regular.ttf \
866 src/fonts/ofl/mukta/Mukta-SemiBold.ttf \
867 \
868 src/font-awesome/web-fonts-with-css/webfonts/fa-brands-400.eot \
869 src/font-awesome/web-fonts-with-css/webfonts/fa-brands-400.svg \
870 src/font-awesome/web-fonts-with-css/webfonts/fa-brands-400.ttf \
871 src/font-awesome/web-fonts-with-css/webfonts/fa-brands-400.woff \
872 src/font-awesome/web-fonts-with-css/webfonts/fa-brands-400.woff2 \
873 src/font-awesome/web-fonts-with-css/webfonts/fa-regular-400.eot \
874 src/font-awesome/web-fonts-with-css/webfonts/fa-regular-400.svg \
875 src/font-awesome/web-fonts-with-css/webfonts/fa-regular-400.ttf \
876 src/font-awesome/web-fonts-with-css/webfonts/fa-regular-400.woff \
877 src/font-awesome/web-fonts-with-css/webfonts/fa-regular-400.woff2 \
878 src/font-awesome/web-fonts-with-css/webfonts/fa-solid-900.eot \
879 src/font-awesome/web-fonts-with-css/webfonts/fa-solid-900.svg \
880 src/font-awesome/web-fonts-with-css/webfonts/fa-solid-900.ttf \
881 src/font-awesome/web-fonts-with-css/webfonts/fa-solid-900.woff \
882 src/font-awesome/web-fonts-with-css/webfonts/fa-solid-900.woff2 \
883 \
884 src/payment-font/fonts/paymentfont-webfont.eot \
885 src/payment-font/fonts/paymentfont-webfont.svg \
886 src/payment-font/fonts/paymentfont-webfont.ttf \
887 src/payment-font/fonts/paymentfont-webfont.woff
888
889 static_fontsdir = $(staticdir)/fonts
890
891 static_images_DATA = \
892 src/static/img/apple-touch-icon-192x192-precomposed.png \
893 src/static/img/apple-touch-icon-180x180-precomposed.png \
894 src/static/img/apple-touch-icon-152x152-precomposed.png \
895 src/static/img/apple-touch-icon-144x144-precomposed.png \
896 src/static/img/apple-touch-icon-120x120-precomposed.png \
897 src/static/img/apple-touch-icon-76x76-precomposed.png \
898 src/static/img/apple-touch-icon-72x72-precomposed.png \
899 src/static/img/apple-touch-icon-60x60-precomposed.png \
900 src/static/img/default-avatar.jpg \
901 src/static/img/ipfire-tux.png \
902 src/static/img/iuse-not-found.png \
903 src/static/img/lightningwirelabs-logo.svg
904
905 static_imagesdir = $(staticdir)/img
906
907 static_images_tux_DATA = \
908 src/static/img/tux/ipfire_tux_16x16.png \
909 src/static/img/tux/ipfire_tux_20x20.png \
910 src/static/img/tux/ipfire_tux_32x32.png \
911 src/static/img/tux/ipfire_tux_48x48.png \
912 src/static/img/tux/ipfire_tux_64x64.png \
913 src/static/img/tux/ipfire_tux_128x128.png \
914 src/static/img/tux/ipfire_tux_256x256.png \
915 src/static/img/tux/ipfire_tux_420x420.png \
916 src/static/img/tux/ipfire_tux_512x512.png
917
918 static_images_tuxdir = $(static_imagesdir)/tux
919
920 static_js_DATA = \
921 src/bootstrap/dist/js/bootstrap.min.js \
922 src/bootstrap/dist/js/bootstrap.min.js.map \
923 \
924 src/static/js/jquery-3.3.1.min.js \
925 src/static/js/popper.min.js \
926 src/static/js/prettify.js \
927 \
928 src/static/js/zxcvbn/dist/zxcvbn.js \
929 src/static/js/zxcvbn/dist/zxcvbn.js.map
930
931 static_jsdir = $(staticdir)/js
932
933 static_netboot_DATA = \
934 src/static/netboot/boot.png \
935 src/static/netboot/boot.svg \
936 src/static/netboot/ipxe.kpxe \
937 src/static/netboot/menu.c32 \
938 src/static/netboot/pxelinux.0 \
939 src/static/netboot/vesamenu.c32
940
941 static_netbootdir = $(staticdir)/netboot
942
943 # ------------------------------------------------------------------------------
944
945 dist_cron_DATA = \
946 src/crontab/ipfire.org
947
948 # ------------------------------------------------------------------------------
949
950 if HAVE_SYSTEMD
951 systemdsystemunit_DATA = \
952 src/systemd/ipfire.org-webapp-1.service \
953 src/systemd/ipfire.org-webapp-2.service \
954 src/systemd/ipfire.org-webapp-3.service \
955 src/systemd/ipfire.org-webapp-4.service
956
957 CLEANFILES += \
958 $(systemdsystemunit_DATA)
959
960 INSTALL_DIRS += \
961 $(systemdsystemunitdir)
962 endif
963
964 EXTRA_DIST += \
965 src/systemd/ipfire.org-webapp-1.service.in \
966 src/systemd/ipfire.org-webapp-3.service.in \
967 src/systemd/ipfire.org-webapp-3.service.in \
968 src/systemd/ipfire.org-webapp-4.service.in
969
970 # ------------------------------------------------------------------------------
971
972 substitutions = \
973 '|PACKAGE_NAME=$(PACKAGE_NAME)|' \
974 '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
975 '|PYTHON=$(PYTHON)|' \
976 '|configsdir=$(configsdir)|' \
977 '|bindir=$(bindir)|' \
978 '|datadir=$(datadir)|'
979
980 SED_PROCESS = \
981 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
982 $(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
983 < $< > $@
984
985 %: %.in Makefile
986 $(SED_PROCESS)
987
988 %.css: _%.scss Makefile
989 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
990 $(SASSC) --style compressed $< > $@
991
992 %.css: %.scss Makefile
993 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
994 $(SASSC) --style compressed $< > $@
995
996 src/scss/main.css: $(SCSS_FILES) Makefile
997 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
998 $(SASSC) --style compressed $< > $@
999
1000 src/static/favicon.ico: src/static/img/ipfire-tux.png Makefile
1001 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1002 $(CONVERT) $< -background none -flatten -density 1200 \
1003 -resize 50% -define icon:auto-resize=64,48,32,16 $@
1004
1005 src/static/img/apple-touch-icon-%-precomposed.png: src/static/img/ipfire-tux.png Makefile
1006 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1007 $(CONVERT) -background none -flatten -density 1200 -bordercolor none -border 5%x5% \
1008 -resize $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) $< $@
1009
1010 # Docker
1011 .PHONY: docker
1012 docker: Dockerfile
1013 docker build -t "ipfire/webapp:$(PACKAGE_VERSION)" .