mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 15:07:27 +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]
|
[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 inUnix when running under Unix (Linux,FreeBSD)
|
||||||
# define inWinNT when running under WinNT
|
# define inWinNT when running under WinNT
|
||||||
|
# define inOS2 when running under OS/2
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
# We need only / in the path
|
# We need only / in the path
|
||||||
@ -23,6 +24,7 @@ nopwd:
|
|||||||
@exit
|
@exit
|
||||||
else
|
else
|
||||||
inUnix=1
|
inUnix=1
|
||||||
|
PWD:=$(firstword $(PWD))
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
PWD:=$(firstword $(PWD))
|
PWD:=$(firstword $(PWD))
|
||||||
@ -1232,6 +1234,9 @@ endif
|
|||||||
ifeq ($(OS_TARGET),win32)
|
ifeq ($(OS_TARGET),win32)
|
||||||
PACKAGESUFFIX=w32
|
PACKAGESUFFIX=w32
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(OS_TARGET),os2)
|
||||||
|
PACKAGESUFFIX=emx
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Temporary path to pack a file
|
# Temporary path to pack a file
|
||||||
@ -1268,7 +1273,9 @@ ifdef USETAR
|
|||||||
cd $(PACKDIR) ; $(TARPROG) cf$(TAROPT) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT) * ; cd $(BASEDIR)
|
cd $(PACKDIR) ; $(TARPROG) cf$(TAROPT) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT) * ; cd $(BASEDIR)
|
||||||
else
|
else
|
||||||
$(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT)
|
$(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
|
endif
|
||||||
$(DELTREE) $(PACKDIR)
|
$(DELTREE) $(PACKDIR)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user