diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-03 05:59:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-03 05:59:03 +0000 |
| commit | d447dc0f59619d26073699d9f81d7de77c200be4 (patch) | |
| tree | fae507e2a2568d249b0681bfc255ea3941a71a6f /build/Makefile.themes | |
| parent | 28a4456c46976ba5c58a300dfa67109227bc1583 (diff) | |
new build system without automake
Diffstat (limited to 'build/Makefile.themes')
| -rw-r--r-- | build/Makefile.themes | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/build/Makefile.themes b/build/Makefile.themes new file mode 100644 index 00000000..5238c140 --- /dev/null +++ b/build/Makefile.themes @@ -0,0 +1,60 @@ +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) |
