X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2Ftcl%2FMakefile.am;h=c73a6e2e0b1bf87a3d93becf2bcd82c376ce436d;hb=5fc7ff89bdbced9c593c566fea9840a269935dcd;hp=d4ea2102f95024452c055adbaba03177c318ce60;hpb=d839737b6b8dfad9bd6336a42041e9b5067dc870;p=rrdtool.git diff --git a/bindings/tcl/Makefile.am b/bindings/tcl/Makefile.am index d4ea210..c73a6e2 100644 --- a/bindings/tcl/Makefile.am +++ b/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)