X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=themes%2FShogi%2F1-kanji-chu%2FMakefile;fp=themes%2FShogi%2F1-kanji-chu%2FMakefile;h=b864e9900e9ff382ea9caad2e0a9601efc7e89b7;hb=20165740fa3594d5aac0c58842247d0c413bdfa8;hp=0000000000000000000000000000000000000000;hpb=fc19a8e532244b90af22b7f7534619f6373e2ab3;p=xboard.git diff --git a/themes/Shogi/1-kanji-chu/Makefile b/themes/Shogi/1-kanji-chu/Makefile new file mode 100644 index 0000000..b864e99 --- /dev/null +++ b/themes/Shogi/1-kanji-chu/Makefile @@ -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) +