PREFIX = /usr/local
MAN1 = $(PREFIX)/share/man/man1

all: dml.1

dml.1: dml.pod
	pod2man --center="User commands" --release="PLD/Linux 3.1415 (Szklane Domy)" $< > $@

clean:
	rm -f dml.1

install: all
	install -d $(DESTDIR)$(MAN1)
	install -m 644 dml.1 $(DESTDIR)$(MAN1)
