TOP_DIR = ..

PLUGINS = convert-flac \
	  convert-mmurender \
	  convert-mpg321 \
	  convert-mplayer \
	  convert-ogg123 \
	  convert-oggdec \
	  info-case \
	  info-firstdash \
	  info-id3info \
	  info-mmuinfo \
	  info-MP3-Info \
	  info-ogginfo \
	  info-translit-cyr \
	  input-m3u \
	  input-raw

DIST_FILES = $(PLUGINS) \
	     Makefile

include $(TOP_DIR)/include.mak

install: $(PLUGINS)
	install -m 755 -d $(DESTDIR)$(DATADIR)/$(PACKAGE)/plugins
	install -m 644 $(PLUGINS) $(DESTDIR)$(DATADIR)/$(PACKAGE)/plugins

uninstall:
	cd $(DESTDIR)$(DATADIR)/$(PACKAGE)/plugins && rm -f $(PLUGINS)
