mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 02:28:22 +02:00
* include installer building in zipinstall make target when building for relevant OS targets
(cherry picked from commit d70bb6a8c2
)
This commit is contained in:
parent
db49020205
commit
e31036b5d6
10
Makefile
10
Makefile
@ -476,6 +476,10 @@ UTILS=1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
INSTALLERTARGETS=emx go32v2 msdos os2
|
||||
ifneq ($(findstring $(OS_TARGET),$(INSTALLERTARGETS)),)
|
||||
INSTALLER=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-linux)
|
||||
override TARGET_DIRS+=compiler rtl utils packages installer
|
||||
endif
|
||||
@ -2837,11 +2841,17 @@ endif
|
||||
$(MAKE) packages_clean $(CLEANOPTS)
|
||||
ifdef UTILS
|
||||
$(MAKE) utils_clean $(CLEANOPTS)
|
||||
endif
|
||||
ifdef INSTALLER
|
||||
$(MAKE) installer_clean $(CLEANOPTS)
|
||||
endif
|
||||
$(MAKE) rtl_$(ALLTARGET) $(BUILDOPTS)
|
||||
$(MAKE) packages_$(ALLTARGET) $(BUILDOPTS)
|
||||
ifdef UTILS
|
||||
$(MAKE) utils_all $(BUILDOPTS)
|
||||
endif
|
||||
ifdef INSTALLER
|
||||
$(MAKE) installer_all $(BUILDOPTS)
|
||||
endif
|
||||
$(ECHOREDIR) Build > $(BUILDSTAMP)
|
||||
$(ECHOREDIR) Build > base.$(BUILDSTAMP)
|
||||
|
11
Makefile.fpc
11
Makefile.fpc
@ -207,6 +207,11 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
INSTALLERTARGETS=emx go32v2 msdos os2
|
||||
ifneq ($(findstring $(OS_TARGET),$(INSTALLERTARGETS)),)
|
||||
INSTALLER=1
|
||||
endif
|
||||
|
||||
[rules]
|
||||
.NOTPARALLEL:
|
||||
|
||||
@ -301,11 +306,17 @@ endif
|
||||
ifdef UTILS
|
||||
$(MAKE) utils_clean $(CLEANOPTS)
|
||||
endif
|
||||
ifdef INSTALLER
|
||||
$(MAKE) installer_clean $(CLEANOPTS)
|
||||
endif
|
||||
# build everything
|
||||
$(MAKE) rtl_$(ALLTARGET) $(BUILDOPTS)
|
||||
$(MAKE) packages_$(ALLTARGET) $(BUILDOPTS)
|
||||
ifdef UTILS
|
||||
$(MAKE) utils_all $(BUILDOPTS)
|
||||
endif
|
||||
ifdef INSTALLER
|
||||
$(MAKE) installer_all $(BUILDOPTS)
|
||||
endif
|
||||
$(ECHOREDIR) Build > $(BUILDSTAMP)
|
||||
$(ECHOREDIR) Build > base.$(BUILDSTAMP)
|
||||
|
Loading…
Reference in New Issue
Block a user