diff options
author | Mattias Andrée <maandree@kth.se> | 2024-02-17 09:57:59 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-02-17 09:57:59 +0100 |
commit | ca5d7551235aac0df995ab8d67d0e473a2162abc (patch) | |
tree | 8729a14e2a8e9629bf192ae18941c5563933f347 /mk/portable.mk | |
parent | Some new icons and aliases (diff) | |
download | simple-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.mk | 21 |
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 |