From edb753e1fad91d8737b9035b324b963a47bd66c4 Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Tue, 4 Dec 2018 18:48:49 +0100 Subject: [PATCH] switch to overlay mode --- Makefile | 6 ------ themes.json | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 121b363..8020476 100644 --- a/Makefile +++ b/Makefile @@ -33,12 +33,6 @@ dist: clean install: mkdir -p $(DESTDIR)$(prefix)/share/publik/themes/rouen/ cp -r static templates themes.json $(DESTDIR)$(prefix)/share/publik/themes/rouen - TMPL="$(shell find /usr/share/publik/themes/publik-base/templates/ -maxdepth 1 -mindepth 1 ! -name variants -printf '%f\n')"; for i in $$TMPL; do \ - ln -s -f $(prefix)/share/publik/themes/publik-base/templates/$$i \ - $(DESTDIR)$(prefix)/share/publik/themes/rouen/templates/$$i; \ - done - ln -s -f $(prefix)/share/publik/themes/publik-base/static/js \ - $(DESTDIR)$(prefix)/share/publik/themes/rouen/static/js; dist-bzip2: dist cd sdist && tar cfj ../sdist/$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) diff --git a/themes.json b/themes.json index 9426533..539ab5c 100644 --- a/themes.json +++ b/themes.json @@ -1,10 +1,12 @@ [ {"id": "rouen", "label": "Rouen", + "overlay": "rouen", "variables": { "css_variant": "rouen", "no_extra_js": true, "theme_color": "#EE787C" - } + }, + "module": "publik-base" } ]