Browse Source

* installsymlink now supports all cpu's

olle 21 years ago
parent
commit
9a0c3e5c5f
1 changed files with 5 additions and 4 deletions
  1. 5 4
      compiler/Makefile.fpc

+ 5 - 4
compiler/Makefile.fpc

@@ -550,9 +550,9 @@ PPCCPULOCATION=  $(INSTALL_BINDIR)
 endif
 endif
 endif
 endif
 
 
-# This will only install the ppc386.exe, not the message files etc.
+# This will only install the ppcXXX executable, not the message files etc.
 quickinstall: $(addsuffix _install,$(TARGET_DIRS))
 quickinstall: $(addsuffix _install,$(TARGET_DIRS))
-# Install ppc386.exe
+# Install ppcXXX executable
 ifneq ($(PPEXEFILE),)
 ifneq ($(PPEXEFILE),)
 ifdef UPXPROG
 ifdef UPXPROG
         -$(UPXPROG) $(EXENAME)
         -$(UPXPROG) $(EXENAME)
@@ -575,11 +575,12 @@ endif
         $(MKDIR) $(MSGINSTALLDIR)
         $(MKDIR) $(MSGINSTALLDIR)
         $(INSTALL) $(MSGFILES) $(MSGINSTALLDIR)
         $(INSTALL) $(MSGFILES) $(MSGINSTALLDIR)
 
 
-# this also installs the link /usr/bin/ppc386. The .deb does that later
+# This also installs a link from bin to the actual executable.
+# The .deb does that later.
 installsymlink: install
 installsymlink: install
 ifdef UNIXINSTALLDIR
 ifdef UNIXINSTALLDIR
         $(MKDIR) $(INSTALL_BINDIR)
         $(MKDIR) $(INSTALL_BINDIR)
-        ln -sf $(INSTALL_BASEDIR)/ppc386 $(INSTALL_BINDIR)/ppc386
+        ln -sf $(INSTALL_BASEDIR)/$(EXENAME) $(INSTALL_BINDIR)/$(EXENAME)
 endif
 endif