--- Makefile.in.orig 2003-02-01 16:56:40.000000000 -0500 +++ Makefile.in 2003-02-01 17:04:07.000000000 -0500 @@ -428,16 +428,16 @@ install-exec-hook: - $(mkinstalldirs) @PKG_TCL@ @PKG_TCL@/demo + $(mkinstalldirs) $(DESTDIR)@PKG_TCL@ $(DESTDIR)@PKG_TCL@/demo echo "package ifneeded tkTheme" \ `echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \ - "[list load $(DESTDIR)$(libdir)/libtkTheme.so]" \ - > @PKG_TCL@/pkgIndex.tcl + "[list load $(libdir)/libtkTheme.so]" \ + > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl sed -e 's%load .libs/libtkTheme.so%package require tkTheme%' \ < test.tcl \ | sed -e 's%cd demo/%cd @PKG_TCL@/demo/%' \ - > @PKG_TCL@/test.tcl - cp demo/* @PKG_TCL@/demo + > $(DESTDIR)@PKG_TCL@/test.tcl + cp demo/* $(DESTDIR)@PKG_TCL@/demo # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.