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/releases.py \
src/backend/settings.py \
src/backend/talk.py \
- src/backend/tracker.py \
src/backend/util.py \
+ src/backend/wiki.py \
src/backend/zeiterfassung.py
backenddir = $(pythondir)/ipfire
src/web/base.py \
src/web/blog.py \
src/web/boot.py \
+ src/web/donate.py \
src/web/download.py \
+ src/web/fireinfo.py \
src/web/handlers.py \
- src/web/handlers_fireinfo.py \
src/web/iuse.py \
src/web/location.py \
src/web/mirrors.py \
src/web/newsletter.py \
src/web/nopaste.py \
src/web/people.py \
- src/web/ui_modules.py
+ src/web/ui_modules.py \
+ src/web/wiki.py
webdir = $(backenddir)/web
templates_DATA = \
src/templates/base.html \
- src/templates/donate.html \
src/templates/error.html \
src/templates/index.html
templatesdir = $(datadir)/templates
templates_auth_DATA = \
- src/templates/auth/login.html
+ src/templates/auth/activate.html \
+ src/templates/auth/login.html \
+ src/templates/auth/register.html \
+ src/templates/auth/register-success.html
templates_authdir = $(templatesdir)/auth
src/templates/blog/feed.xml \
src/templates/blog/index.html \
src/templates/blog/post.html \
+ src/templates/blog/publish.html \
src/templates/blog/search-results.html \
src/templates/blog/tag.html \
src/templates/blog/year.html
templates_blog_modulesdir = $(templates_blogdir)/modules
+templates_donate_DATA = \
+ src/templates/donate/donate.html \
+ src/templates/donate/error.html \
+ src/templates/donate/thank-you.html
+
+templates_donatedir = $(templatesdir)/donate
+
templates_download_DATA = \
src/templates/download/release.html
templates_downloaddir = $(templatesdir)/download
templates_fireinfo_DATA = \
- src/templates/fireinfo/i-use-1.png
+ src/templates/fireinfo/driver.html \
+ src/templates/fireinfo/index.html \
+ src/templates/fireinfo/i-use-1.png \
+ src/templates/fireinfo/processors.html \
+ src/templates/fireinfo/profile.html \
+ src/templates/fireinfo/releases.html \
+ src/templates/fireinfo/vendor.html \
+ src/templates/fireinfo/vendors.html
templates_fireinfodir = $(templatesdir)/fireinfo
+templates_fireinfo_modules_DATA = \
+ src/templates/fireinfo/modules/table-devices-and-groups.html \
+ src/templates/fireinfo/modules/table-devices.html
+
+templates_fireinfo_modulesdir = $(templates_fireinfodir)/modules
+
templates_location_DATA = \
+ src/templates/location/base.html \
+ src/templates/location/blacklists.html \
src/templates/location/lookup.html
templates_locationdir = $(templatesdir)/location
templates_mirrorsdir = $(templatesdir)/mirrors
templates_modules_DATA = \
- src/templates/modules/map.html
+ src/templates/modules/map.html \
+ src/templates/modules/progress-bar.html
templates_modulesdir = $(templatesdir)/modules
templates_staticdir = $(templatesdir)/static
+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/revisions.html \
+ src/templates/wiki/search-results.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
+
+templates_wiki_modulesdir = $(templates_wikidir)/modules
+
# ------------------------------------------------------------------------------
SCSS_FILES = \
src/scss/_variables.scss
EXTRA_DIST += \
+ src/scss/listing.scss \
src/templates/messages/main.scss
CLEANFILES += \
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
EXTRA_DIST += \
%: %.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 $< > $@
+
+# Docker
+.PHONY: docker
+docker: Dockerfile
+ docker build -t "ipfire/webapp:$(PACKAGE_VERSION)" .