]> Dogcows Code - chaz/openbox/blob - build/Makefile.themes.openbox
use .los not .os
[chaz/openbox] / build / Makefile.themes.openbox
1 include build/Makefile.incl
2
3 dir = themes/openbox
4
5 files = artwiz bbs bluebox cthulhain deep ebox fieron fieron2 flux \
6 frobozz frobust mbdtex miklos nyz nyzclone ob20 operation \
7 outcomes paper purplehaaze shade steelblue steelblue2 \
8 the_orange trisb twice warp-xp
9
10 srcdir := $(srcdir)/$(dir)
11 dir := $(DESTDIR)$(themedir)/$(notdir $(dir))
12 sources := $(addprefix $(srcdir)/,$(files))
13
14 fieron_buttons_dir := $(dir)/fieron_buttons
15 fieron_buttons_srcdir := $(srcdir)/fieron_buttons
16 fieron_buttons := close.xbm icon.xbm max.xbm stick.xbm
17 fieron_buttons_sources := $(addprefix $(fieron_buttons_srcdir)/,$(fieron_buttons))
18
19 fieron2_buttons_dir:=$(dir)/fieron2_buttons
20 fieron2_buttons_srcdir:=$(srcdir)/fieron2_buttons
21 fieron2_buttons:=close.xbm icon.xbm max.xbm stick.xbm
22 fieron2_buttons_sources := $(addprefix $(fieron2_buttons_srcdir)/,$(fieron2_buttons))
23
24 ebox_buttons_dir:=$(dir)/ebox_buttons
25 ebox_buttons_srcdir:=$(srcdir)/ebox_buttons
26 ebox_buttons:=close.xbm icon.xbm max.xbm
27 ebox_buttons_sources := $(addprefix $(ebox_buttons_srcdir)/,$(ebox_buttons))
28
29 all:
30
31 install:
32 $(INSTALL) -d $(dir)
33 for i in $(sources); do \
34 $(INSTALL) -m 644 $$i $(dir); \
35 done
36
37 $(INSTALL) -d $(fieron_buttons_dir)
38 for i in $(fieron_buttons_sources); do \
39 $(INSTALL) $$i $(fieron_buttons_dir); \
40 done
41 $(INSTALL) -d $(fieron2_buttons_dir)
42 for i in $(fieron2_buttons_sources); do \
43 $(INSTALL) $$i $(fieron2_buttons_dir); \
44 done
45 $(INSTALL) -d $(ebox_buttons_dir)
46 for i in $(ebox_buttons_sources); do \
47 $(INSTALL) $$i $(ebox_buttons_dir); \
48 done
49
50 uninstall:
51 for i in $(ebox_buttons); do \
52 $(RM) $(ebox_buttons_dir)/$$i; \
53 done
54 -rmdir $(ebox_buttons_dir)
55 for i in $(fieron2_buttons); do \
56 $(RM) $(fieron2_buttons_dir)/$$i; \
57 done
58 -rmdir $(fieron2_buttons_dir)
59 for i in $(fieron_buttons); do \
60 $(RM) $(fieron_buttons_dir)/$$i; \
61 done
62 -rmdir $(fieron_buttons_dir)
63 for i in $(files); do \
64 $(RM) $(dir)/$$i; \
65 done
66 -rmdir $(dir)
67
68 clean:
69
70 distclean:
71
72 .PHONY: all clean distclean install uninstall
This page took 0.038818 seconds and 4 git commands to generate.