mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 13:27:15 +01:00
* removed commands chaining with ';' - not supported under OS/2
This commit is contained in:
parent
9a9c1adb7f
commit
21ae05b7d0
@ -4,9 +4,10 @@
|
||||
|
||||
[osdetect]
|
||||
#####################################################################
|
||||
# Autodetect OS (Linux or Dos or Windows NT)
|
||||
# Autodetect OS (Linux or Dos or Windows NT or OS/2)
|
||||
# define inUnix when running under Unix (Linux,FreeBSD)
|
||||
# define inWinNT when running under WinNT
|
||||
# define inOS2 when running under OS/2
|
||||
#####################################################################
|
||||
|
||||
# We need only / in the path
|
||||
@ -23,6 +24,7 @@ nopwd:
|
||||
@exit
|
||||
else
|
||||
inUnix=1
|
||||
PWD:=$(firstword $(PWD))
|
||||
endif
|
||||
else
|
||||
PWD:=$(firstword $(PWD))
|
||||
@ -1232,6 +1234,9 @@ endif
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
PACKAGESUFFIX=w32
|
||||
endif
|
||||
ifeq ($(OS_TARGET),os2)
|
||||
PACKAGESUFFIX=emx
|
||||
endif
|
||||
endif
|
||||
|
||||
# Temporary path to pack a file
|
||||
@ -1268,7 +1273,9 @@ ifdef USETAR
|
||||
cd $(PACKDIR) ; $(TARPROG) cf$(TAROPT) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT) * ; cd $(BASEDIR)
|
||||
else
|
||||
$(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT)
|
||||
cd $(PACKDIR) ; $(ZIPPROG) -Dr $(ZIPOPT) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT) * ; cd $(BASEDIR)
|
||||
cd $(PACKDIR)
|
||||
$(ZIPPROG) -Dr $(ZIPOPT) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT) *
|
||||
cd $(BASEDIR)
|
||||
endif
|
||||
$(DELTREE) $(PACKDIR)
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user