diff options
author | lloyd <[email protected]> | 2008-09-30 19:41:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-30 19:41:07 +0000 |
commit | 370db6b6e75fe82a69b4eb51ec29f47c697e2a6e (patch) | |
tree | f353bde6340bf06b9744aef1d8088f98d2858601 /src/build-data/makefile | |
parent | ab225988716bceb8f87e635bc411bccdc2b7d4f1 (diff) |
Rename makefile variable INSTALLROOT to DESTDIR for autotools compatability
Diffstat (limited to 'src/build-data/makefile')
-rw-r--r-- | src/build-data/makefile/nmake.in | 8 | ||||
-rw-r--r-- | src/build-data/makefile/unix.in | 12 | ||||
-rw-r--r-- | src/build-data/makefile/unix_shr.in | 12 |
3 files changed, 16 insertions, 16 deletions
diff --git a/src/build-data/makefile/nmake.in b/src/build-data/makefile/nmake.in index df4669dd4..b730beab1 100644 --- a/src/build-data/makefile/nmake.in +++ b/src/build-data/makefile/nmake.in @@ -21,11 +21,11 @@ VERSION = $(MAJOR).$(MINOR).$(PATCH) ################################################## # Installation Settings # ################################################## -INSTALLROOT = @{var:prefix} +DESTDIR = @{var:prefix} -LIBDIR = $(INSTALLROOT)\@{var:libdir} -HEADERDIR = $(INSTALLROOT)\@{var:includedir}\botan -DOCDIR = $(INSTALLROOT)\@{var:docdir}\Botan-$(VERSION) +LIBDIR = $(DESTDIR)\@{var:libdir} +HEADERDIR = $(DESTDIR)\@{var:includedir}\botan +DOCDIR = $(DESTDIR)\@{var:docdir}\Botan-$(VERSION) ################################################## # Aliases for Common Programs # diff --git a/src/build-data/makefile/unix.in b/src/build-data/makefile/unix.in index 3422f50cf..cd4e2c46a 100644 --- a/src/build-data/makefile/unix.in +++ b/src/build-data/makefile/unix.in @@ -21,12 +21,12 @@ VERSION = $(MAJOR).$(MINOR).$(PATCH) ################################################## # Installation Settings # ################################################## -INSTALLROOT = @{var:prefix} +DESTDIR = @{var:prefix} -BINDIR = $(INSTALLROOT)/bin -LIBDIR = $(INSTALLROOT)/@{var:libdir} -HEADERDIR = $(INSTALLROOT)/@{var:includedir}/botan -DOCDIR = $(INSTALLROOT)/@{var:docdir}/Botan-$(VERSION) +BINDIR = $(DESTDIR)/bin +LIBDIR = $(DESTDIR)/@{var:libdir} +HEADERDIR = $(DESTDIR)/@{var:includedir}/botan +DOCDIR = $(DESTDIR)/@{var:docdir}/Botan-$(VERSION) CONFIG_SCRIPT = @{var:botan-config} @@ -102,7 +102,7 @@ distclean: clean $(RM) Makefile $(CONFIG_SCRIPT) install: $(LIBRARIES) - $(ECHO) "Installing Botan into $(INSTALLROOT)... " + $(ECHO) "Installing Botan into $(DESTDIR)... " $(MKDIR_INSTALL) $(DOCDIR) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR) diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in index a3be7d3af..d8d6fa63d 100644 --- a/src/build-data/makefile/unix_shr.in +++ b/src/build-data/makefile/unix_shr.in @@ -23,12 +23,12 @@ VERSION = $(MAJOR).$(MINOR).$(PATCH) ################################################## # Installation Settings # ################################################## -INSTALLROOT = @{var:prefix} +DESTDIR = @{var:prefix} -BINDIR = $(INSTALLROOT)/bin -LIBDIR = $(INSTALLROOT)/@{var:libdir} -HEADERDIR = $(INSTALLROOT)/@{var:includedir}/botan -DOCDIR = $(INSTALLROOT)/@{var:docdir}/Botan-$(VERSION) +BINDIR = $(DESTDIR)/bin +LIBDIR = $(DESTDIR)/@{var:libdir} +HEADERDIR = $(DESTDIR)/@{var:includedir}/botan +DOCDIR = $(DESTDIR)/@{var:docdir}/Botan-$(VERSION) CONFIG_SCRIPT = @{var:botan-config} @@ -115,7 +115,7 @@ distclean: clean $(RM) Makefile $(CONFIG_SCRIPT) install: $(LIBRARIES) - $(ECHO) "Installing Botan into $(INSTALLROOT)... " + $(ECHO) "Installing Botan into $(DESTDIR)... " $(MKDIR_INSTALL) $(DOCDIR) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR) |