Add separate plugin-spec files for maxqi and shamax
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 13 Sep 2014 13:06:16 +0000 (15:06 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 13 Sep 2014 13:06:16 +0000 (15:06 +0200)
Next to the .eng file, also install logos for them, but use the same
logo as for fairymax (now named logo.png).

Makefile
data/logo.png [moved from data/fairymax.png with 100% similarity]
data/maxqi.eng [new file with mode: 0644]
data/shamax.eng [new file with mode: 0644]

index 5de3e52..6e8f804 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,9 +28,13 @@ install: ${ALL} ${srcdir}/data/*
        install -d -m0755 $(DESTDIR)/usr/share/man/man6
        cp -u ${srcdir}/fairymax.6.gz $(DESTDIR)/usr/share/man/man6
        install -d -m0755 $(DESTDIR)/usr/share/games/plugins/logos
-       cp -u ${srcdir}/data/fairymax.png $(DESTDIR)/usr/share/games/plugins/logos
+       cp -u ${srcdir}/data/logo.png $(DESTDIR)/usr/share/games/plugins/logos/fairymax.png
+       cp -u ${srcdir}/data/logo.png $(DESTDIR)/usr/share/games/plugins/logos/shamax.png
+       cp -u ${srcdir}/data/logo.png $(DESTDIR)/usr/share/games/plugins/logos/maxqi.png
        install -d -m0755 $(DESTDIR)/usr/share/games/plugins/xboard
        cp -u ${srcdir}/data/fairymax.eng $(DESTDIR)/usr/share/games/plugins/xboard
+       cp -u ${srcdir}/data/shamax.eng $(DESTDIR)/usr/share/games/plugins/xboard
+       cp -u ${srcdir}/data/maxqi.eng $(DESTDIR)/usr/share/games/plugins/xboard
 
 fairymax.6.gz: fairymax.pod
        pod2man -s 6 fairymax.pod > fmax.man
@@ -60,7 +64,11 @@ dist:
 
 uninstall:
        rm -f $(DESTDIR)/usr/share/games/plugins/logos/fairymax.png
+       rm -f $(DESTDIR)/usr/share/games/plugins/logos/shamax.png
+       rm -f $(DESTDIR)/usr/share/games/plugins/logos/maxqi.png
        rm -f $(DESTDIR)/usr/share/games/plugins/xboard/fairymax.eng
+       rm -f $(DESTDIR)/usr/share/games/plugins/xboard/shamax.eng
+       rm -f $(DESTDIR)/usr/share/games/plugins/xboard/maxqi.eng
        rm -f $(DESTDIR)/usr/share/games/fairymax/*
        rmdir $(DESTDIR)/usr/share/games/fairymax
        rm -f $(DESTDIR)/usr/share/man/man6/fairymax.6.gz
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..ea70718188b3c3b0308f11cb38f05fde1e6edbc2
--- /dev/null
@@ -0,0 +1,3 @@
+plugin spec 0.0
+maxqi
+xiangqi
diff --git a/data/maxqi.eng b/data/maxqi.eng
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..a2ec2027e93630624997e4130eb930f0e29e5e71
--- /dev/null
@@ -0,0 +1,3 @@
+plugin spec 0.0
+shamax
+shatranj
diff --cc data/shamax.eng
Simple merge