X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=Makefile.am;h=01383c9bb448b1b54ce6f1362891fe7e4892d44b;hb=401827c281928c00c8305b45e088fde3a6e27746;hp=e078f0312b509326d2a311fc5f99f73bf0b2283e;hpb=bc5b7100c5cecbfcf1ea649e3ecb640b10c86a57;p=ipfire.org.git diff --git a/Makefile.am b/Makefile.am index e078f031..01383c9b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,11 +49,11 @@ CLEANFILES += \ backend_PYTHON = \ src/backend/__init__.py \ src/backend/accounts.py \ - src/backend/ads.py \ - src/backend/asterisk.py \ src/backend/base.py \ + src/backend/blog.py \ src/backend/countries.py \ src/backend/database.py \ + src/backend/decorators.py \ src/backend/fireinfo.py \ src/backend/geoip.py \ src/backend/iuse.py \ @@ -61,9 +61,7 @@ backend_PYTHON = \ src/backend/mirrors.py \ src/backend/misc.py \ src/backend/netboot.py \ - src/backend/news.py \ src/backend/nopaste.py \ - src/backend/planet.py \ src/backend/releases.py \ src/backend/settings.py \ src/backend/talk.py \ @@ -77,20 +75,21 @@ backenddir = $(pythondir)/ipfire web_PYTHON = \ src/web/__init__.py \ + src/web/auth.py \ + src/web/blog.py \ + src/web/download.py \ src/web/handlers.py \ src/web/handlers_accounts.py \ src/web/handlers_admin.py \ src/web/handlers_base.py \ src/web/handlers_boot.py \ - src/web/handlers_download.py \ src/web/handlers_fireinfo.py \ src/web/handlers_iuse.py \ src/web/handlers_mirrors.py \ - src/web/handlers_news.py \ src/web/handlers_nopaste.py \ - src/web/handlers_planet.py \ - src/web/handlers_rss.py \ src/web/handlers_talk.py \ + src/web/location.py \ + src/web/talk.py \ src/web/ui_modules.py webdir = $(backenddir)/web @@ -100,19 +99,89 @@ webdir = $(backenddir)/web # TODO install the base for now and add all other templates later templates_DATA = \ - src/templates/base.html + 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 + +templates_authdir = $(templatesdir)/auth + +templates_blog_DATA = \ + src/templates/blog/author.html \ + src/templates/blog/base.html \ + src/templates/blog/compose.html \ + src/templates/blog/drafts.html \ + src/templates/blog/feed.xml \ + src/templates/blog/index.html \ + src/templates/blog/post.html \ + src/templates/blog/search-results.html \ + src/templates/blog/tag.html \ + src/templates/blog/year.html + +templates_blogdir = $(templatesdir)/blog + +templates_blog_modules_DATA = \ + src/templates/blog/modules/history-navigation.html \ + src/templates/blog/modules/list.html \ + src/templates/blog/modules/post.html \ + src/templates/blog/modules/posts.html + +templates_blog_modulesdir = $(templates_blogdir)/modules + +templates_download_DATA = \ + src/templates/download/base.html \ + src/templates/download/release.html + +templates_downloaddir = $(templatesdir)/download + +templates_location_DATA = \ + src/templates/location/lookup.html + +templates_locationdir = $(templatesdir)/location + +templates_modules_DATA = \ + src/templates/modules/map.html \ + src/templates/modules/menu.html + +templates_modulesdir = $(templatesdir)/modules + +templates_static_DATA = \ + src/templates/static/features.html \ + src/templates/static/get-involved.html \ + src/templates/static/get-started.html \ + src/templates/static/get-support.html \ + src/templates/static/hardware.html \ + src/templates/static/legal.html + +templates_staticdir = $(templatesdir)/static + +templates_talk_DATA = \ + src/templates/talk/base.html \ + src/templates/talk/index.html \ + src/templates/talk/registrations.html \ + src/templates/talk/user.html \ + src/templates/talk/users.html + +templates_talkdir = $(templatesdir)/talk + +templates_talk_modules_DATA = \ + src/templates/talk/modules/accounts-list.html \ + src/templates/talk/modules/channels.html \ + src/templates/talk/modules/registrations.html + +templates_talk_modulesdir = $(templates_talkdir)/modules + # ------------------------------------------------------------------------------ SCSS_FILES = \ src/scss/style.scss \ - src/scss/_buttons.scss \ - src/scss/_donation.scss \ src/scss/_fonts.scss \ src/scss/_icons.scss \ - src/scss/_nav.scss \ src/scss/_variables.scss EXTRA_DIST += \ @@ -122,6 +191,8 @@ CLEANFILES += \ src/templates/messages/main.css static_DATA = \ + src/static/favicon.ico \ + src/static/robots.txt \ src/scss/main.css CLEANFILES += \ @@ -133,17 +204,66 @@ EXTRA_DIST += \ staticdir = $(datadir)/static static_fonts_DATA = \ - # TODO + src/fonts/ofl/mukta/Mukta-Bold.ttf \ + src/fonts/ofl/mukta/Mukta-ExtraBold.ttf \ + src/fonts/ofl/mukta/Mukta-ExtraLight.ttf \ + src/fonts/ofl/mukta/Mukta-Light.ttf \ + src/fonts/ofl/mukta/Mukta-Medium.ttf \ + src/fonts/ofl/mukta/Mukta-Regular.ttf \ + src/fonts/ofl/mukta/Mukta-SemiBold.ttf static_fontsdir = $(staticdir)/fonts static_images_DATA = \ - # TODO - -static_imagesdir = $(staticdir)/images + src/static/img/amex.png \ + src/static/img/amex@2x.png \ + src/static/img/amex@3x.png \ + src/static/img/appliance-pro.png \ + src/static/img/ipfire-tux.png \ + src/static/img/lightningwirelabs-logo.svg \ + src/static/img/mastercard.png \ + src/static/img/mastercard@2x.png \ + src/static/img/mastercard@3x.png \ + src/static/img/paypal.png \ + src/static/img/paypal@2x.png \ + src/static/img/paypal@3x.png \ + src/static/img/visa.png \ + src/static/img/visa@2x.png \ + src/static/img/visa@3x.png + +static_imagesdir = $(staticdir)/img + +static_images_screenshots_DATA = \ + src/static/img/screenshots/firewall-connections.png \ + src/static/img/screenshots/firewall-host-groups.png \ + src/static/img/screenshots/firewall-new-rule.png \ + src/static/img/screenshots/firewall-rules.png \ + src/static/img/screenshots/firewall-service-groups.png \ + src/static/img/screenshots/pakfire-addon-services-1.png \ + src/static/img/screenshots/pakfire-overview-1.png + +static_images_screenshotsdir = $(static_imagesdir)/screenshots + +static_images_tux_DATA = \ + src/static/img/tux/ipfire_tux_16x16.png \ + src/static/img/tux/ipfire_tux_20x20.png \ + src/static/img/tux/ipfire_tux_32x32.png \ + src/static/img/tux/ipfire_tux_48x48.png \ + src/static/img/tux/ipfire_tux_64x64.png \ + src/static/img/tux/ipfire_tux_128x128.png \ + src/static/img/tux/ipfire_tux_256x256.png \ + src/static/img/tux/ipfire_tux_420x420.png \ + src/static/img/tux/ipfire_tux_512x512.png + +static_images_tuxdir = $(static_imagesdir)/tux static_js_DATA = \ - # TODO + src/bootstrap/dist/js/bootstrap.min.js \ + src/bootstrap/dist/js/bootstrap.min.js.map \ + \ + src/static/js/jquery-3.3.1.min.js \ + src/static/js/popper.min.js \ + src/static/js/site.js static_jsdir = $(staticdir)/js @@ -179,6 +299,7 @@ EXTRA_DIST += \ substitutions = \ '|PACKAGE_NAME=$(PACKAGE_NAME)|' \ '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \ + '|PYTHON=$(PYTHON)|' \ '|configsdir=$(configsdir)|' \ '|bindir=$(bindir)|' \ '|datadir=$(datadir)|'