Fix Mnemonic Wa theme
[xboard.git] / themes / Fancy / Makefile
1 srcdir = .
2
3 DATADIR = `xboard --show-config Datadir`
4 PACKAGE = xb_pieces_fancy
5
6 all:
7         @echo "    " use \"sudo make install\" for system-wide install
8
9 install: ${ALL} ${srcdir}/*/*
10         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/AlfonsoX
11         cp -u ${srcdir}/AlfonsoX/*.svg $(DESTDIR)$(DATADIR)/themes/AlfonsoX
12         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Chessicons
13         cp -u ${srcdir}/Chessicons/*.svg $(DESTDIR)$(DATADIR)/themes/Chessicons
14         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/ChrisDesign
15         cp -u ${srcdir}/ChrisDesign/*.svg $(DESTDIR)$(DATADIR)/themes/ChrisDesign
16         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Condal
17         cp -u ${srcdir}/Condal/*.svg $(DESTDIR)$(DATADIR)/themes/Condal
18         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Fantasy
19         cp -u ${srcdir}/Fantasy/*.svg $(DESTDIR)$(DATADIR)/themes/Fantasy
20         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Glass
21         cp -u ${srcdir}/Glass/*.svg $(DESTDIR)$(DATADIR)/themes/Glass
22         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Kilfiger
23         cp -u ${srcdir}/Kilfiger/*.svg $(DESTDIR)$(DATADIR)/themes/Kilfiger
24         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Magnetic
25         cp -u ${srcdir}/Magnetic/*.svg $(DESTDIR)$(DATADIR)/themes/Magnetic
26         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Maya
27         cp -u ${srcdir}/Maya/*.svg $(DESTDIR)$(DATADIR)/themes/Maya
28         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Montreal
29         cp -u ${srcdir}/Montreal/*.svg $(DESTDIR)$(DATADIR)/themes/Montreal
30         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Motif
31         cp -u ${srcdir}/Motif/*.svg $(DESTDIR)$(DATADIR)/themes/Motif
32         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Pirat
33         cp -u ${srcdir}/Pirat/*.svg $(DESTDIR)$(DATADIR)/themes/Pirat
34         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/QwertyXP20000
35         cp -u ${srcdir}/QwertyXP20000/*.svg $(DESTDIR)$(DATADIR)/themes/QwertyXP20000
36         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Regular
37         cp -u ${srcdir}/Regular/*.svg $(DESTDIR)$(DATADIR)/themes/Regular
38         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Simple
39         cp -u ${srcdir}/Simple/*.svg $(DESTDIR)$(DATADIR)/themes/Simple
40         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Spatial
41         cp -u ${srcdir}/Spatial/*.svg $(DESTDIR)$(DATADIR)/themes/Spatial
42         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/Tribal
43         cp -u ${srcdir}/Tribal/*.svg $(DESTDIR)$(DATADIR)/themes/Tribal
44         install -d -m0755 $(DESTDIR)$(DATADIR)/themes/USCF-Metal
45         cp -u ${srcdir}/USCF-Metal/*.svg $(DESTDIR)$(DATADIR)/themes/USCF-Metal
46
47 dist-clean:
48         rm -f md5sums
49
50 dist:
51         rm -f $(PACKAGE).tar $(PACKAGE).tar.gz
52         (md5sum Makefile */* > md5sums) || true
53         tar -cvvf $(PACKAGE).tar .
54         gzip $(PACKAGE).tar
55
56 uninstall:
57         rm -f $(DESTDIR)$(DATADIR)/themes/AlfonsoX/*
58         rmdir $(DESTDIR)$(DATADIR)/themes/AlfonsoX || true
59         rm -f $(DESTDIR)$(DATADIR)/themes/Chessicons/*
60         rmdir $(DESTDIR)$(DATADIR)/themes/Chessicons || true
61         rm -f $(DESTDIR)$(DATADIR)/themes/ChrisDesign/*
62         rmdir $(DESTDIR)$(DATADIR)/themes/ChrisDesign || true
63         rm -f $(DESTDIR)$(DATADIR)/themes/Condal/*
64         rmdir $(DESTDIR)$(DATADIR)/themes/Condal || true
65         rm -f $(DESTDIR)$(DATADIR)/themes/Fantasy/*
66         rmdir $(DESTDIR)$(DATADIR)/themes/Fantasy || true
67         rm -f $(DESTDIR)$(DATADIR)/themes/Glass/*
68         rmdir $(DESTDIR)$(DATADIR)/themes/Glass || true
69         rm -f $(DESTDIR)$(DATADIR)/themes/Kilfiger/*
70         rmdir $(DESTDIR)$(DATADIR)/themes/Kilfiger || true
71         rm -f $(DESTDIR)$(DATADIR)/themes/Magnetic/*
72         rmdir $(DESTDIR)$(DATADIR)/themes/Magnetic || true
73         rm -f $(DESTDIR)$(DATADIR)/themes/Maya/*
74         rmdir $(DESTDIR)$(DATADIR)/themes/Maya || true
75         rm -f $(DESTDIR)$(DATADIR)/themes/Montreal/*
76         rmdir $(DESTDIR)$(DATADIR)/themes/Montreal || true
77         rm -f $(DESTDIR)$(DATADIR)/themes/Motif/*
78         rmdir $(DESTDIR)$(DATADIR)/themes/Motif || true
79         rm -f $(DESTDIR)$(DATADIR)/themes/Pirat/*
80         rmdir $(DESTDIR)$(DATADIR)/themes/Pirat || true
81         rm -f $(DESTDIR)$(DATADIR)/themes/QwertyXP20000/*
82         rmdir $(DESTDIR)$(DATADIR)/themes/QwertyXP20000 || true
83         rm -f $(DESTDIR)$(DATADIR)/themes/Regular/*
84         rmdir $(DESTDIR)$(DATADIR)/themes/Regular || true
85         rm -f $(DESTDIR)$(DATADIR)/themes/Simple/*
86         rmdir $(DESTDIR)$(DATADIR)/themes/Simple || true
87         rm -f $(DESTDIR)$(DATADIR)/themes/Spatial/*
88         rmdir $(DESTDIR)$(DATADIR)/themes/Spatial || true
89         rm -f $(DESTDIR)$(DATADIR)/themes/Tribal/*
90         rmdir $(DESTDIR)$(DATADIR)/themes/Tribal || true
91         rm -f $(DESTDIR)$(DATADIR)/themes/USCF-Metal/*
92         rmdir $(DESTDIR)$(DATADIR)/themes/USCF-Metal || true
93