]> git.ipfire.org Git - ipfire.org.git/blobdiff - Makefile.am
wiki: editor: Set focus on textarea when launching
[ipfire.org.git] / Makefile.am
index 5150e96eddf63b63f9c7b6dc7c9210d0737c48f7..24cf8d7c32e79332b58bdef3467d1883056ba771 100644 (file)
@@ -9,7 +9,7 @@ AUTOMAKE_OPTIONS = color-tests
 # keep itermediate files
 .SECONDARY:
 
-pythondir  = $(pyexecdir)
+pythondir  = $(prefix)/lib/python3/dist-packages
 
 configsdir = $(sysconfdir)/ipfire.org
 crondir    = $(sysconfdir)/cron.d
@@ -64,9 +64,11 @@ backend_PYTHON = \
        src/backend/misc.py \
        src/backend/netboot.py \
        src/backend/nopaste.py \
+       src/backend/ratelimit.py \
        src/backend/releases.py \
        src/backend/settings.py \
        src/backend/talk.py \
+       src/backend/tweets.py \
        src/backend/util.py \
        src/backend/wiki.py \
        src/backend/zeiterfassung.py
@@ -109,12 +111,18 @@ templatesdir = $(datadir)/templates
 
 templates_auth_DATA = \
        src/templates/auth/activate.html \
+       src/templates/auth/activated.html \
        src/templates/auth/login.html \
        src/templates/auth/register.html \
        src/templates/auth/register-success.html
 
 templates_authdir = $(templatesdir)/auth
 
+templates_auth_messages_DATA = \
+       src/templates/auth/messages/register.txt
+
+templates_auth_messagesdir = $(templates_authdir)/messages
+
 templates_blog_DATA = \
        src/templates/blog/author.html \
        src/templates/blog/base.html \
@@ -230,6 +238,7 @@ templates_peopledir = $(templatesdir)/people
 
 templates_people_modules_DATA = \
        src/templates/people/modules/accounts-list.html \
+       src/templates/people/modules/accounts-new.html \
        src/templates/people/modules/cdr.html \
        src/templates/people/modules/channels.html \
        src/templates/people/modules/mos.html \
@@ -266,7 +275,8 @@ templates_wiki_DATA = \
        src/templates/wiki/page.html \
        src/templates/wiki/recent-changes.html \
        src/templates/wiki/revisions.html \
-       src/templates/wiki/search-results.html
+       src/templates/wiki/search-results.html \
+       src/templates/wiki/watchlist.html
 
 templates_wikidir = $(templatesdir)/wiki
 
@@ -292,6 +302,7 @@ templates_wiki_modulesdir = $(templates_wikidir)/modules
 
 SCSS_FILES = \
        src/scss/style.scss \
+       src/scss/_code-highlighting.scss \
        src/scss/_fonts.scss \
        src/scss/_icons.scss \
        src/scss/_variables.scss
@@ -914,8 +925,10 @@ static_js_DATA = \
        src/bootstrap/dist/js/bootstrap.min.js \
        src/bootstrap/dist/js/bootstrap.min.js.map \
        \
+       src/static/js/editor.js \
        src/static/js/jquery-3.3.1.min.js \
        src/static/js/popper.min.js \
+       src/static/js/popper.min.js.map \
        src/static/js/prettify.js \
        \
        src/static/js/zxcvbn/dist/zxcvbn.js \
@@ -936,7 +949,7 @@ static_netbootdir = $(staticdir)/netboot
 # ------------------------------------------------------------------------------
 
 dist_cron_DATA = \
-       src/crontab/ipfire.org
+       src/crontab/ipfire
 
 # ------------------------------------------------------------------------------
 
@@ -998,7 +1011,13 @@ src/static/favicon.ico: src/static/img/ipfire-tux.png Makefile
 src/static/img/apple-touch-icon-%-precomposed.png: src/static/img/ipfire-tux.png Makefile
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
        $(CONVERT) -background none -flatten -density 1200 -bordercolor none -border 5%x5% \
-               -resize $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) $< $@
+               -resize $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) -gravity center \
+               -extent $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@)x$(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) \
+               $< $@
+
+.PHONY: update
+update:
+       for i in src/systemd/ipfire.org-webapp-*.service; do systemctl restart $$(basename $${i}) && sleep 5; done
 
 # Docker
 .PHONY: docker