src/backend/decorators.py \
src/backend/fireinfo.py \
src/backend/geoip.py \
+ src/backend/hwdata.py \
src/backend/iuse.py \
+ src/backend/memcached.py \
+ src/backend/messages.py \
src/backend/mirrors.py \
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/tracker.py \
+ src/backend/tweets.py \
src/backend/util.py \
src/backend/wiki.py \
src/backend/zeiterfassung.py
templatesdir = $(datadir)/templates
templates_auth_DATA = \
- src/templates/auth/login.html
+ 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 \
templates_wiki_DATA = \
src/templates/wiki/404.html \
src/templates/wiki/base.html \
+ src/templates/wiki/diff.html \
+ src/templates/wiki/edit.html \
src/templates/wiki/page.html \
- src/templates/wiki/recent-changes.html
+ src/templates/wiki/recent-changes.html \
+ src/templates/wiki/revisions.html \
+ src/templates/wiki/search-results.html \
+ src/templates/wiki/watchlist.html
templates_wikidir = $(templatesdir)/wiki
+templates_wiki_files_DATA = \
+ src/templates/wiki/files/detail.html \
+ src/templates/wiki/files/index.html
+
+templates_wiki_filesdir = $(templates_wikidir)/files
+
+templates_wiki_messages_DATA = \
+ src/templates/wiki/messages/page-changed.txt
+
+templates_wiki_messagesdir = $(templates_wikidir)/messages
+
templates_wiki_modules_DATA = \
+ src/templates/wiki/modules/diff.html \
src/templates/wiki/modules/list.html \
src/templates/wiki/modules/navbar.html
static_DATA = \
src/static/favicon.ico \
src/static/robots.txt \
+ src/scss/fonts.css \
src/scss/listing.css \
src/scss/main.css
CLEANFILES += \
+ src/scss/fonts.css \
src/scss/listing.css \
src/scss/main.css
static_fontsdir = $(staticdir)/fonts
static_images_DATA = \
+ src/static/img/apple-touch-icon-192x192-precomposed.png \
+ src/static/img/apple-touch-icon-180x180-precomposed.png \
+ src/static/img/apple-touch-icon-152x152-precomposed.png \
+ src/static/img/apple-touch-icon-144x144-precomposed.png \
+ src/static/img/apple-touch-icon-120x120-precomposed.png \
+ src/static/img/apple-touch-icon-76x76-precomposed.png \
+ src/static/img/apple-touch-icon-72x72-precomposed.png \
+ src/static/img/apple-touch-icon-60x60-precomposed.png \
src/static/img/default-avatar.jpg \
src/static/img/ipfire-tux.png \
src/static/img/iuse-not-found.png \
\
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 \
%: %.in Makefile
$(SED_PROCESS)
+%.css: _%.scss Makefile
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+ $(SASSC) --style compressed $< > $@
+
%.css: %.scss Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(SASSC) --style compressed $< > $@
src/scss/main.css: $(SCSS_FILES) Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(SASSC) --style compressed $< > $@
+
+src/static/favicon.ico: src/static/img/ipfire-tux.png Makefile
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+ $(CONVERT) $< -background none -flatten -density 1200 \
+ -resize 50% -define icon:auto-resize=64,48,32,16 $@
+
+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,%,$@) -gravity center \
+ -extent $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@)x$(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) \
+ $< $@
+
+# Docker
+.PHONY: docker
+docker: Dockerfile
+ docker build -t "ipfire/webapp:$(PACKAGE_VERSION)" .