diff options
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 0315b9777d..dcd4abb9ea 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -81,6 +81,9 @@ prefix = /usr !if !defined(exec_prefix) exec_prefix = $(prefix) !endif +!if !defined(DESTDIR) +DESTDIR = $(prefix) +!endif !if !defined(libdir) libdir = $(exec_prefix)/lib !endif @@ -302,7 +305,7 @@ s,@FFLAGS@,$(FFLAGS),;t t s,@LDFLAGS@,,;t t s,@LIBS@,$(LIBS),;t t s,@exec_prefix@,$${prefix},;t t -s,@prefix@,$(prefix),;t t +s,@prefix@,,;t t s,@program_transform_name@,s,,,,;t t s,@bindir@,$${exec_prefix}/bin,;t t s,@sbindir@,$${exec_prefix}/sbin,;t t |