aboutsummaryrefslogtreecommitdiffstats
path: root/mk/portable.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-17 09:57:59 +0100
committerMattias Andrée <maandree@kth.se>2024-02-17 09:57:59 +0100
commitca5d7551235aac0df995ab8d67d0e473a2162abc (patch)
tree8729a14e2a8e9629bf192ae18941c5563933f347 /mk/portable.mk
parentSome new icons and aliases (diff)
downloadsimple-icon-theme-ca5d7551235aac0df995ab8d67d0e473a2162abc.tar.gz
simple-icon-theme-ca5d7551235aac0df995ab8d67d0e473a2162abc.tar.bz2
simple-icon-theme-ca5d7551235aac0df995ab8d67d0e473a2162abc.tar.xz
New icons, more icons linked into claws-mail theme, and installation of claws-mail theme
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--mk/portable.mk21
1 files changed, 18 insertions, 3 deletions
diff --git a/mk/portable.mk b/mk/portable.mk
index c957871..33da566 100644
--- a/mk/portable.mk
+++ b/mk/portable.mk
@@ -1,8 +1,21 @@
-all: index.theme $(ALL_PNG_ICONS)
+include mk/xdestdir.mk
-all-fast: index.theme all-fast-icons
+APPS_MAKE_FLAGS =\
+ DESTDIR="$(XDESTDIR)"\
+ PREFIX="$(PREFIX)"\
+ ICONPREFIX="$(ICONPREFIX)"\
+ THEME_NAME="$(THEME_NAME)"\
+ THEME_DESC="$(THEME_DESC)"\
+ THEME_DIR="$(THEME_DIR)"
-all-fast-icons: $(ICONS:=.x)
+all: index.theme $(ALL_PNG_ICONS) all-apps
+
+all-fast: index.theme all-fast-icons all-apps
+
+all-fast-icons: $(ICONS:=.x) all-apps
+
+all-apps:
+ +cd apps && $(MAKE) $(APPS_MAKE_FLAGS) all
$(ICONS:=.x): conv
@+test -z "$(DIR_SUFFIX)" || $(MAKE) scalable$(DIR_SUFFIX)/$(@:.x=.svg)
@@ -75,12 +88,14 @@ install: index.theme $(ALL_PNG_ICONS)
cp -P -- "scalable$(DIR_SUFFIX)/$${i}.svg" "$(DESTDIR)$(ICONPREFIX)/$(THEME_DIR)/scalable/$${i}.svg";\
done
cp -- index.theme "$(DESTDIR)$(ICONPREFIX)/$(THEME_DIR)/index.theme"
+ +cd apps && $(MAKE) $(APPS_MAKE_FLAGS) install
#`(sed ...) < icons.mk | while read i` is used instead of `for i in $(ICONS)` because $(ICONS) got too big for sh(1)
#The
uninstall:
-rm -rf -- "$(DESTDIR)$(ICONPREFIX)/$(THEME_DIR)"
+ +cd apps && $(MAKE) $(APPS_MAKE_FLAGS) uninstall
clean:
+@$(MAKE) -f Makefile clean