Add image files for various Shogi themes
[xboard.git] / themes / Shogi / 1-kanji-chu / Makefile
diff --git a/themes/Shogi/1-kanji-chu/Makefile b/themes/Shogi/1-kanji-chu/Makefile
new file mode 100644 (file)
index 0000000..b864e99
--- /dev/null
@@ -0,0 +1,30 @@
+srcdir = .
+
+DATADIR=`xboard --show-config Datadir`
+THEMENICK=1-kanji-chu
+
+install:
+       install -d -m0755 $(DESTDIR)$(DATADIR)/themes/conf
+       cp -u ${srcdir}/themedef $(DESTDIR)$(DATADIR)/themes/conf/$(THEMENICK)
+       install -d -m0755 $(DESTDIR)$(DATADIR)/themes/textures
+       cp -u ${srcdir}/wood_kaya.png $(DESTDIR)$(DATADIR)/themes/textures
+       install -d -m0755 $(DESTDIR)$(DATADIR)/themes/$(THEMENICK)
+       cp -u ${srcdir}/*.svg $(DESTDIR)$(DATADIR)/themes/$(THEMENICK)
+
+md5sums: ${srcdir}/*.svg ${srcdir}/themedef ${srcdir}/*.png Makefile
+       md5sum *.svg themedef Makefile README > md5sums
+
+dist-clean: 
+       rm -f *~ md5sums
+
+dist: md5sums
+       rm -f $(THEMENICK).tar $(THEMENICK).tar.gz
+       tar -cvvf $(THEMENICK).tar *.svg *.png themedef Makefile README md5sums
+       gzip $(THEMENICK).tar
+
+uninstall:
+       rm -f $(DESTDIR)$(DATADIR)/themes/conf/$(THEMENICK)
+       rm -f $(DESTDIR)$(DATADIR)/themes/$(THEMENICK)/*
+       rm -f $(DESTDIR)$(DATADIR)/themes/textures/wood_kaya.png
+       rmdir $(DESTDIR)$(DATADIR)/themes/$(THEMENICK)
+