accept "configure --mandir=" settings -- Mike Slifcak <slif@bellsouth.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@248
a5681a0c-68f1-0310-ab6d-
d61299d08faa
# lets schedule the perl stuff for installation
# the special call to install-sh is because the -d switch is not portable
install-data-local:
- ../config/mkinstalldirs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/lib/perl/auto/RRDs
$(INSTALL) -m 644 perl-piped/RRDp.pm $(DESTDIR)$(prefix)/lib/perl
$(INSTALL) -m 644 perl-shared/RRDs.pm $(DESTDIR)$(prefix)/lib/perl
$(INSTALL) -m 644 perl-shared/blib/arch/auto/RRDs/RRDs.bs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs
idoc_DATA = $(POD) $(TXT)
ihtmldir = $(prefix)/html
ihtml_DATA = $(HTML)
-imandir = $(prefix)/man/man1
+imandir = $(mandir)/man1
iman_DATA = $(MAN)
all-local: link txt man html-local