60 lines
2.2 KiB
Text
60 lines
2.2 KiB
Text
themes_srcdir:=$(srcdir)/themes
|
|
|
|
themes_ob_dir:=$(DESTDIR)$(themesdir)/openbox
|
|
themes_ob_srcdir:=$(themes_srcdir)/openbox
|
|
themes_ob:=artwiz bbs bluebox cthulhain deep ebox fieron fieron2 flux \
|
|
frobozz frobust mbdtex miklos nyz nyzclone ob20 operation \
|
|
outcomes paper purplehaaze shade steelblue steelblue2 \
|
|
the_orange trisb twice warp-xp
|
|
|
|
themes_ob_fieron_buttons_dir:=$(themes_ob_dir)/fieron_buttons
|
|
themes_ob_fieron_buttons_srcdir:=$(themes_ob_srcdir)/fieron_buttons
|
|
themes_ob_fieron_buttons:=close.xbm icon.xbm max.xbm stick.xbm
|
|
|
|
themes_ob_fieron2_buttons_dir:=$(themes_ob_dir)/fieron2_buttons
|
|
themes_ob_fieron2_buttons_srcdir:=$(themes_ob_srcdir)/fieron2_buttons
|
|
themes_ob_fieron2_buttons:=close.xbm icon.xbm max.xbm stick.xbm
|
|
|
|
themes_ob_ebox_buttons_dir:=$(themes_ob_dir)/ebox_buttons
|
|
themes_ob_ebox_buttons_srcdir:=$(themes_ob_srcdir)/ebox_buttons
|
|
themes_ob_ebox_buttons:=close.xbm icon.xbm max.xbm
|
|
|
|
themes-install:
|
|
$(INSTALL) -d $(DESTDIR)$(themesdir)
|
|
|
|
$(INSTALL) -d $(themes_ob_dir)
|
|
for i in $(addprefix $(themes_ob_srcdir)/,$(themes_ob)); do \
|
|
$(INSTALL) $$i $(themes_ob_dir); \
|
|
done
|
|
$(INSTALL) -d $(themes_ob_fieron_buttons_dir)
|
|
for i in $(addprefix $(themes_ob_fieron_buttons_srcdir)/,$(themes_ob_fieron_buttons)); do \
|
|
$(INSTALL) $$i $(themes_ob_fieron_buttons_dir); \
|
|
done
|
|
$(INSTALL) -d $(themes_ob_fieron2_buttons_dir)
|
|
for i in $(addprefix $(themes_ob_fieron2_buttons_srcdir)/,$(themes_ob_fieron2_buttons)); do \
|
|
$(INSTALL) $$i $(themes_ob_fieron2_buttons_dir); \
|
|
done
|
|
$(INSTALL) -d $(themes_ob_ebox_buttons_dir)
|
|
for i in $(addprefix $(themes_ob_ebox_buttons_srcdir)/,$(themes_ob_ebox_buttons)); do \
|
|
$(INSTALL) $$i $(themes_ob_ebox_buttons_dir); \
|
|
done
|
|
|
|
themes-uninstall:
|
|
-for i in $(themes_ob_ebox_buttons); do \
|
|
$(RM) $(themes_ob_ebox_buttons_dir)/$$i; \
|
|
done
|
|
-rmdir $(themes_ob_ebox_buttons_dir)
|
|
-for i in $(themes_ob_fieron2_buttons); do \
|
|
$(RM) $(themes_ob_fieron2_buttons_dir)/$$i; \
|
|
done
|
|
-rmdir $(themes_ob_fieron2_buttons_dir)
|
|
-for i in $(themes_ob_fieron_buttons); do \
|
|
$(RM) $(themes_ob_fieron_buttons_dir)/$$i; \
|
|
done
|
|
-rmdir $(themes_ob_fieron_buttons_dir)
|
|
-for i in $(themes_ob); do \
|
|
$(RM) $(themes_ob_dir)/$$i; \
|
|
done
|
|
-rmdir $(themes_ob_dir)
|
|
|
|
-rmdir $(DESTDIR)$(themesdir)
|