#Residence of perl
PERL = /usr/local/bin/perl
#PERL = /usr/bin/perl
#PERL = /bin/perl

#Residence of pod2man
POD2MAN = /usr/local/bin/pod2man
#POD2MAN = /usr/bin/pod2man
#POD2MAN = /bin/pod2man

#Location where file_shift should be installed
BINDIR = /usr/local/bin
#BINDIR = /usr/bin
#BINDIR = /bin

#Location where the man page should be installed
#MANDIR = /usr/local/share/man/man1
MANDIR = /usr/local/man/man1
#MANDIR = /usr/share/man/man1
#MANDIR = /usr/man/man1

#You don't have to change any thing below this line.

all:
	( \
		cp tt tt.$$$$ ; \
		sed -e "1s@PERL@$(PERL)@" < tt.$$$$ > tt ; \
		rm -f tt.$$$$ ; \
		chmod a+x tt ; \
		pod2man tt > tt.1 \
	)

install:
	install tt $(BINDIR)
	install tt.1 $(MANDIR)
