From: oetiker Date: Wed, 12 May 2004 21:57:53 +0000 (+0000) Subject: locate the mkinstalldirs script at top level X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a66a5a0ce7307fc69ac31d468af4570b879e03b2;p=rrdtool-all.git locate the mkinstalldirs script at top level accept "configure --mandir=" settings -- Mike Slifcak git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@248 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/Makefile.am b/program/bindings/Makefile.am index d723caf3..ffdf4a2c 100644 --- a/program/bindings/Makefile.am +++ b/program/bindings/Makefile.am @@ -6,7 +6,7 @@ EXTRA_DIST = $(shell for A in perl-*; do cat $$A/MANIFEST | sed -e s,^,$$A/, ; d # 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 diff --git a/program/doc/Makefile.am b/program/doc/Makefile.am index 3fc96a41..4d7182b6 100644 --- a/program/doc/Makefile.am +++ b/program/doc/Makefile.am @@ -32,7 +32,7 @@ idocdir = $(prefix)/doc 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