Browse Source

+ install target now correctly takes the BASEINSTALLDIR on linux

michael 26 years ago
parent
commit
4e7e218bfe
1 changed files with 9 additions and 2 deletions
  1. 9 2
      base/makefile.fpc

+ 9 - 2
base/makefile.fpc

@@ -379,7 +379,7 @@ endif
 # set the directory where to install the binaries
 # set the directory where to install the binaries
 ifndef BININSTALLDIR
 ifndef BININSTALLDIR
 ifdef inlinux
 ifdef inlinux
-BININSTALLDIR=$(PREFIXINSTALLDIR)/bin
+BININSTALLDIR=$(BASEINSTALLDIR)/bin
 else
 else
 BININSTALLDIR=$(BASEINSTALLDIR)/bin/$(OS_TARGET)
 BININSTALLDIR=$(BASEINSTALLDIR)/bin/$(OS_TARGET)
 endif
 endif
@@ -779,7 +779,11 @@ fpc_libinstall: staticlibinstall $(SHAREDINSTALL)
 
 
 # Temporary path to pack a file
 # Temporary path to pack a file
 ifndef PACKDIR
 ifndef PACKDIR
+ifndef inlinux
 PACKDIR=pack_tmp
 PACKDIR=pack_tmp
+else
+PACKDIR=/tmp/fpc-pack
+endif
 endif
 endif
 
 
 # Test dir if none specified
 # Test dir if none specified
@@ -969,7 +973,10 @@ endif
 
 
 #
 #
 # $Log$
 # $Log$
-# Revision 1.14  1999-04-08 10:16:17  peter
+# Revision 1.15  1999-04-16 20:12:35  michael
+# + install target now correctly takes the BASEINSTALLDIR on linux
+#
+# Revision 1.14  1999/04/08 10:16:17  peter
 #   * zipinstall for linux with .tar.gz
 #   * zipinstall for linux with .tar.gz
 #
 #
 # Revision 1.13  1999/04/01 22:52:28  peter
 # Revision 1.13  1999/04/01 22:52:28  peter