# Copyright 2022, Thomas E. Dickey
# makefile-template for autoconf

@SET_MAKE@

SHELL	= @SHELL@
srcdir	= @srcdir@
VPATH	= @srcdir@

THIS	= blame
ACTUAL	= `echo $(THIS) | sed '$(transform)'`

transform = @program_transform_name@

prefix	= @prefix@
datarootdir = @datarootdir@
datadir = @datadir@
mandir	= @mandir@
man1dir = $(mandir)/man1

INSTALL	= @INSTALL@
INSTALL_DATA = @INSTALL_DATA@

all:
check:
clean:
distclean:
	-rm -f Makefile

$(DESTDIR)$(man1dir) :
	mkdir -p $@

install: $(DESTDIR)$(man1dir) $(THIS).1
	$(INSTALL_DATA) "$(THIS).1" "$(DESTDIR)$(man1dir)/$(ACTUAL)".1

uninstall:
	rm -f "$(DESTDIR)$(man1dir)/$(ACTUAL).1"

.PHONY: all check clean distclean install uninstall
