Browse Source

* merged fixes

peter 25 years ago
parent
commit
ef862bec25
2 changed files with 10 additions and 0 deletions
  1. 4 0
      Makefile.fpc
  2. 6 0
      install/makepack

+ 4 - 0
Makefile.fpc

@@ -55,11 +55,15 @@ else
 ifeq ($(OS_TARGET),go32v2)
 ALLTARGET=smart
 else
+ifeq ($(OS_TARGET),linux)
+ALLTARGET=smart
+else
 ALLTARGET=all
 endif
 endif
 endif
 endif
+endif
 
 # Stop with an error?
 ifdef SNAPSHOT

+ 6 - 0
install/makepack

@@ -10,6 +10,9 @@ RELEASE=ELF
 
 unset FPCDIR
 
+# Goto the toplevel if necessary
+[ -d install ] || cd ..
+
 make linux
 make source
 make docs
@@ -23,6 +26,9 @@ echo Creating binary.tar
 tar cf binary.tar $FILES
 echo Creating sources.tar
 tar cf sources.tar $SOURCES
+echo Copying install.sh
+cp install/install.sh .
+chmod 755 install.sh
 
 echo Creating fpc-$VERSION.$RELEASE.tar
 tar cf fpc-$VERSION.$RELEASE.tar $RELFILES