From: oetiker Date: Sat, 6 May 2006 13:21:42 +0000 (+0000) Subject: Use tclpkgdir instead of pkglibdir in order to avoid automake warning -- Peter Breit... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cca8c5b3d6ba9e99a12bfa96958d6c98d798a3f;p=rrdtool-all.git Use tclpkgdir instead of pkglibdir in order to avoid automake warning -- Peter Breitenlohner git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@817 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/tcl/Makefile.am b/program/bindings/tcl/Makefile.am index d4ea2102..c73a6e2e 100644 --- a/program/bindings/tcl/Makefile.am +++ b/program/bindings/tcl/Makefile.am @@ -21,7 +21,12 @@ LIBDIRS = -L$(top_builddir)/src/.libs -L$(top_builddir)/src -L$(libdi LIB_RUNTIME_DIR = $(libdir) if BUILD_TCL_SITE -pkglibdir = @TCL_PACKAGE_DIR@ +tclpkgdir = @TCL_PACKAGE_DIR@ +tclpkg_DATA = pkgIndex.tcl +tclpkg_SCRIPTS = ifOctets.tcl +else +pkglib_DATA = pkgIndex.tcl +pkglib_SCRIPTS = ifOctets.tcl endif # Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as @@ -36,10 +41,6 @@ lib_LIBRARIES = all-local: $(TCL_RRD_LIB) -pkglib_DATA = pkgIndex.tcl - -pkglib_SCRIPTS = ifOctets.tcl - $(TCL_RRD_LIB): tclrrd.o $(TCL_SHLIB_LD) $(TCL_LD_SEARCH_FLAGS) $(LIBDIRS) $< -o $@ -lrrd_th -lm $(TCL_STUB_LIB_SPEC) $(LDFLAGS) $(LIBS)