ACLOCAL_AMFLAGS = -I m4
SUBDIRS = po

bin_PROGRAMS = vobcopy

vobcopy_SOURCES = dvd.c vobcopy.c dvd.h vobcopy.h

dist_man_MANS = vobcopy.1
man1dedir = $(mandir)/de/man1
man1de_DATA = intl/de/vobcopy.1

EXTRA_DIST = m4/ChangeLog vobcopy.mo vobcopy.pot vobcopy.spec vobcopy.1.de

dist_doc_DATA = alternative_programs.txt Changelog README Release-Notes TODO COPYING

intl/de/vobcopy.1: vobcopy.1.de
	$(MKDIR_P) intl/de
	ln $< $@

MOSTLYCLEANFILES = intl/de/vobcopy.1

mostlyclean-local:
	-rmdir intl/de
	-rmdir intl
