DATADIR = @DATADIR@ INSTALL = @INSTALL@ DATAFILES = Alpha.png Diagram.png Kingdom.png Slics.png WCN.png \ Book.png Dyche1.png Leipzig.png Staunton.png Yahoo.png \ Chap.png Dyche2.png Mayan.png Traveler.png \ ChessBase.png Enquil.png OldClassicDark.png Usual.png \ Cmf.png Jumbo.png Rastapov.png Vision.png \ Draw1.wav Move1.wav Tell1.wav all: @echo "run \"make install\" as root to install" common-install: @echo "--> Copying theme files..." @list='$(DATAFILES)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL) $$p $(DATADIR)/`echo $$p`" ; \ $(INSTALL) -m 0644 $$p $(DATADIR)/`echo $$p`; \ else :; fi; \ done @cp -f $(DATADIR)/eboard_themes.conf $(DATADIR)/extras1.prevconf # for eboard 0.3.1 and older (would work on newer ones too, # but it isn't package-friendly for people packaging for # Debian, Red Hat, etc.) compatible-install: @echo "Updating $(DATADIR)/eboard_themes.conf" @cat extras1.conf >> $(DATADIR)/eboard_themes.conf @cp -f $(DATADIR)/eboard_themes.conf $(DATADIR)/extras1.bkconf # for eboard 0.3.2 and newer only newer-install: @echo "Adding $(DATADIR)/themeconf.extras1" @cp -f extras1.conf $(DATADIR)/themeconf.extras1 install: common-install @MY_TARGET@ the-end the-end: @echo "-----------------------------------------------------------------" @echo "eboard-extras pack 1 is installed" @echo "22 new piece sets, 3 new sounds" @echo "The files should be available in eboard next time" @echo "you start it up. If you upgrade eboard in the future and" @echo "these files \"disappear\" from the menus, reinstall the" @echo "eboard-extras pack 1." @echo "-----------------------------------------------------------------"