# Extended Module Player etc/Makefile

DFILES	= Makefile magic xmprc rpmrc xmp.spec xmp.spec.in xmp.lsm
DDIRS	=
CFILES	=
DCFILES	=

all: xmp.spec

subdist:: all

include ../Makefile.rules

install::
	@echo Installing /etc/xmprc...
	@if [ -f /etc/xmprc ]; then \
	    mv -f /etc/xmprc /etc/xmprc.old; \
	fi
	$(INSTALL) -m644 xmprc /etc

xmp.spec: xmp.spec.in ../Makefile.rules
	cat $@.in | sed 's/@VERSION@/$(VERSION)/g' > $@

