--- vboxgetty/examples/scripts/Makefile.am.orig 2004-09-24 11:14:08.044455472 +0930 +++ vboxgetty/examples/scripts/Makefile.am 2004-09-24 11:14:38.451386288 +0930 @@ -14,6 +14,6 @@ ## Local install routines ################################################ install-data-local: - $(mkinstalldirs) $(pkgdatadir)/tcl - $(INSTALL) -m 644 initmodem.tcl $(pkgdatadir)/tcl/ - $(INSTALL) -m 644 answercall.tcl $(pkgdatadir)/tcl/ + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/tcl + $(INSTALL) -m 644 initmodem.tcl $(DESTDIR)$(pkgdatadir)/tcl/ + $(INSTALL) -m 644 answercall.tcl $(DESTDIR)$(pkgdatadir)/tcl/ --- vboxgetty/examples/Makefile.am.orig 2004-09-24 11:27:49.756751152 +0930 +++ vboxgetty/examples/Makefile.am 2004-09-24 11:27:08.663145584 +0930 @@ -18,6 +18,6 @@ ## Local install routines ################################################ install-data-local: - $(mkinstalldirs) $(sysconfdir) - $(INSTALL) -m 664 vboxgetty.conf $(sysconfdir) - $(INSTALL) -m 664 vboxcallerid.conf $(sysconfdir) + $(mkinstalldirs) $(DESTDIR)/$(sysconfdir) + $(INSTALL) -m 664 vboxgetty.conf $(DESTDIR)/$(sysconfdir) + $(INSTALL) -m 664 vboxcallerid.conf $(DESTDIR)/$(sysconfdir)