|
@@ -1,5 +1,5 @@
|
|
|
#
|
|
|
-# Makefile generated by fpcmake v0.99.13 [2000/02/23]
|
|
|
+# Makefile generated by fpcmake v0.99.13 [2000/02/24]
|
|
|
#
|
|
|
|
|
|
defaultrule: help
|
|
@@ -122,8 +122,6 @@ OLDFPCDIR:=$(FPCDIR)
|
|
|
checkfpcdir:
|
|
|
ifdef OLDFPCDIR
|
|
|
ifneq ($(OLDFPCDIR),)
|
|
|
-FPCDIRSET=fpcdirset
|
|
|
-fpcdirset:
|
|
|
@echo ---------------------------------------------------------
|
|
|
@echo
|
|
|
@echo You must unset FPCDIR to use this the packaging rules.
|
|
@@ -1456,7 +1454,7 @@ ifdef IDE
|
|
|
$(NOSTOP)$(MAKE) ide_install $(BUILDOPTS)
|
|
|
endif
|
|
|
|
|
|
-zipinstall: $(FPCDIRSET) build-stamp
|
|
|
+zipinstall: build-stamp
|
|
|
$(MAKE) fpc_zipinstall ZIPTARGET=installbase PACKAGENAME=base $(INSTALLOPTS)
|
|
|
$(MAKE) utils_zipinstall $(INSTALLOPTS)
|
|
|
$(MAKE) api_zipinstall $(INSTALLOPTS) PACKAGEPREFIX=$(PKGPRE)
|
|
@@ -1529,22 +1527,22 @@ sourcezip:
|
|
|
|
|
|
.PHONY: go32v2 win32 linux go32v2zip win32zip linuxzip
|
|
|
|
|
|
-go32v2:
|
|
|
+go32v2: checkfpcdir
|
|
|
$(MAKE) install OS_TARGET=go32v2
|
|
|
|
|
|
-win32:
|
|
|
+win32: checkfpcdir
|
|
|
$(MAKE) install OS_TARGET=win32
|
|
|
|
|
|
-linux:
|
|
|
+linux: checkfpcdir
|
|
|
$(MAKE) install OS_TARGET=linux
|
|
|
|
|
|
-go32v2zip:
|
|
|
+go32v2zip: checkfpcdir
|
|
|
$(MAKE) zipinstall OS_TARGET=go32v2
|
|
|
|
|
|
-win32zip:
|
|
|
+win32zip: checkfpcdir
|
|
|
$(MAKE) zipinstall OS_TARGET=win32
|
|
|
|
|
|
-linuxzip:
|
|
|
+linuxzip: checkfpcdir
|
|
|
$(MAKE) zipinstall OS_TARGET=linux
|
|
|
|
|
|
|
|
@@ -1574,7 +1572,7 @@ debcopy: distclean
|
|
|
find $(DEBSRCDIR) -name 'CVS*' | xargs -n1 rm -rf
|
|
|
chmod 755 $(DEBSRCDIR)/debian/rules
|
|
|
|
|
|
-deb: debcopy
|
|
|
+deb: checkfpcdir debcopy
|
|
|
cd $(DEBSRCDIR) ; debian/rules binary
|
|
|
|
|
|
|
|
@@ -1612,6 +1610,6 @@ rpmcopy: distclean
|
|
|
find $(DOCSRCDIR) -name 'CVS*' | xargs -n1 rm -rf
|
|
|
cd $(DOCSRCDIR) ; tar cvz * > $(RPMSOURCESDIR)/fpc-docs-$(FPC_VERSION)-src.tar.gz
|
|
|
|
|
|
-rpm: rpmcopy
|
|
|
+rpm: checkfpcdir rpmcopy
|
|
|
cd $(RPMSPECDIR) ; rpm -ba fpc-$(FPC_VERSION).spec
|
|
|
cd $(RPMSPECDIR) ; rpm -ba fpc-docs-$(FPC_VERSION).spec
|