From: Dana Jansens Date: Sun, 6 Apr 2003 11:01:07 +0000 (+0000) Subject: add the openbox themes makefile X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a2375590808dc9d9df29a72c979d0c97ae01b21f;p=chaz%2Fopenbox add the openbox themes makefile --- diff --git a/build/.cvsignore b/build/.cvsignore index bdbd663f..6dfb40da 100644 --- a/build/.cvsignore +++ b/build/.cvsignore @@ -1,5 +1,4 @@ Makefile.incl -Makefile.themes.openbox config.guess config.sub ltmain.sh diff --git a/build/Makefile.themes.openbox b/build/Makefile.themes.openbox new file mode 100644 index 00000000..4a31e7b4 --- /dev/null +++ b/build/Makefile.themes.openbox @@ -0,0 +1,72 @@ +include build/Makefile.incl + +dir = themes/openbox + +files = 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 + +srcdir := $(srcdir)/$(dir) +dir := $(DESTDIR)$(themedir)/$(notdir $(dir)) +sources := $(addprefix $(srcdir)/,$(files)) + +fieron_buttons_dir := $(dir)/fieron_buttons +fieron_buttons_srcdir := $(srcdir)/fieron_buttons +fieron_buttons := close.xbm icon.xbm max.xbm stick.xbm +fieron_buttons_sources := $(addprefix $(fieron_buttons_srcdir)/,$(fieron_buttons)) + +fieron2_buttons_dir:=$(dir)/fieron2_buttons +fieron2_buttons_srcdir:=$(srcdir)/fieron2_buttons +fieron2_buttons:=close.xbm icon.xbm max.xbm stick.xbm +fieron_buttons_sources := $(addprefix $(fieron2_buttons_srcdir)/,$(fieron2_buttons)) + +ebox_buttons_dir:=$(dir)/ebox_buttons +ebox_buttons_srcdir:=$(srcdir)/ebox_buttons +ebox_buttons:=close.xbm icon.xbm max.xbm +fieron_buttons_sources := $(addprefix $(ebox_buttons_srcdir)/,$(ebox_buttons)) + +all: + +install: + $(INSTALL) -d $(dir) + for i in $(sources); do \ + $(INSTALL) -m 644 $$i $(dir); \ + done + + $(INSTALL) -d $(fieron_buttons_dir) + for i in $(fireon_buttons_sources); do \ + $(INSTALL) $$i $(fieron_buttons_dir); \ + done + $(INSTALL) -d $(fieron2_buttons_dir) + for i in $(fireon2_buttons_sources); do \ + $(INSTALL) $$i $(fieron2_buttons_dir); \ + done + $(INSTALL) -d $(ebox_buttons_dir) + for i in $(ebox_buttons_sources); do \ + $(INSTALL) $$i $(ebox_buttons_dir); \ + done + +uninstall: + for i in $(ebox_buttons); do \ + $(RM) $(ebox_buttons_dir)/$$i; \ + done + -rmdir $(ebox_buttons_dir) + for i in $(fieron2_buttons); do \ + $(RM) $(fieron2_buttons_dir)/$$i; \ + done + -rmdir $(fieron2_buttons_dir) + for i in $(fieron_buttons); do \ + $(RM) $(fieron_buttons_dir)/$$i; \ + done + -rmdir $(fieron_buttons_dir) + for i in $(files); do \ + $(RM) $(dir)/$$i; \ + done + -rmdir $(dir) + +clean: + +distclean: + +.PHONY: all clean distclean install uninstall