mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-18 12:09:06 +02:00
* help target, marked some targets as .PHONE
This commit is contained in:
parent
639f5eb45d
commit
e4004749cb
20
Makefile
20
Makefile
@ -1586,6 +1586,7 @@ ifdef UNIXHier
|
|||||||
else
|
else
|
||||||
$(LOCALFPMAKE) install $(FPMAKE_OPT) --prefix=$(INSTALL_BASEDIR) --baseinstalldir=$(INSTALL_BASEDIR) --unitinstalldir=$(INSTALL_UNITDIR) -ie -fsp 0
|
$(LOCALFPMAKE) install $(FPMAKE_OPT) --prefix=$(INSTALL_BASEDIR) --baseinstalldir=$(INSTALL_BASEDIR) --unitinstalldir=$(INSTALL_UNITDIR) -ie -fsp 0
|
||||||
endif
|
endif
|
||||||
|
.PHONY: democonfig demozip help demoupload
|
||||||
ifndef PAS2JS
|
ifndef PAS2JS
|
||||||
PAS2JS=pas2js
|
PAS2JS=pas2js
|
||||||
endif
|
endif
|
||||||
@ -1608,7 +1609,7 @@ DEMOFILES+=$(wildcard demo/fpreport/*.lpi)
|
|||||||
DEMOFILES+=$(wildcard demo/fpreport/*.lpr)
|
DEMOFILES+=$(wildcard demo/fpreport/*.lpr)
|
||||||
DEMOFILES+=$(wildcard demo/fpreport/*.pp)
|
DEMOFILES+=$(wildcard demo/fpreport/*.pp)
|
||||||
DEMOFILES+=$(wildcard demo/fpreport/*.md)
|
DEMOFILES+=$(wildcard demo/fpreport/*.md)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.html)
|
DEMOFILdemoinfES+=$(wildcard demo/hotreload/*.html)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.lpr)
|
DEMOFILES+=$(wildcard demo/hotreload/*.lpr)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.lpi)
|
DEMOFILES+=$(wildcard demo/hotreload/*.lpi)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.pas)
|
DEMOFILES+=$(wildcard demo/hotreload/*.pas)
|
||||||
@ -1629,15 +1630,18 @@ COMPILERS=$(wildcard $BINDIR/*$(EXEEXT))
|
|||||||
COMPILERS+=$(wildcard $BINDIR/*$(SHAREDLIBEXT))
|
COMPILERS+=$(wildcard $BINDIR/*$(SHAREDLIBEXT))
|
||||||
URL=http://www.freepascal.org/~michael/pas2js/
|
URL=http://www.freepascal.org/~michael/pas2js/
|
||||||
CFGFILE=bin/$(CPU_TARGET)-$(OS_TARGET)/pas2js.cfg
|
CFGFILE=bin/$(CPU_TARGET)-$(OS_TARGET)/pas2js.cfg
|
||||||
demoinfo:
|
help:
|
||||||
@echo "Detected pas2js version: $(PAS2JSVERSION)"
|
@echo "Detected pas2js version: $(PAS2JSVERSION)"
|
||||||
@echo "Supported targets:"
|
@echo "Supported targets:"
|
||||||
|
@echo "help this info"
|
||||||
@echo "all compile for current platform"
|
@echo "all compile for current platform"
|
||||||
@echo "info this info"
|
@echo "install install in an existing FPC installation"
|
||||||
@echo "zip zip file with demo executables"
|
@echo "clean clear files left over by compilation"
|
||||||
@echo "upload upload zip to $(URL)$(ZIPFILE)"
|
@echo "distclean clean + remove build files"
|
||||||
@echo "config create config file in bin dir"
|
@echo "info show all used variables"
|
||||||
@echo "URL for $(PAS2JSVERSION): $(URL)$(ZIPFILE)"
|
@echo "zipinstall create zip file which can be installed in a FPC installation."
|
||||||
|
@echo "democonfig create config file in bin dir"
|
||||||
|
@echo "demozip create alternate demo zip file (deprecated)"
|
||||||
utils/createconfig$(SRCEXEEXT): utils/createconfig.pp
|
utils/createconfig$(SRCEXEEXT): utils/createconfig.pp
|
||||||
$(FPC) utils/createconfig.pp
|
$(FPC) utils/createconfig.pp
|
||||||
democonfig: utils/createconfig$(SRCEXEEXT)
|
democonfig: utils/createconfig$(SRCEXEEXT)
|
||||||
@ -1647,6 +1651,6 @@ demozip: democonfig
|
|||||||
rm -f $(ZIPFILE)
|
rm -f $(ZIPFILE)
|
||||||
cp compiler/utils/pas2js/dist/rtl.js packages/rtl
|
cp compiler/utils/pas2js/dist/rtl.js packages/rtl
|
||||||
zip $(ZIPFILE) $(COMPILERS) $(RTLFILES) $(PACKAGEFILES) $(DOCFILES) $(DEMOFILES) $(CFGFILE)
|
zip $(ZIPFILE) $(COMPILERS) $(RTLFILES) $(PACKAGEFILES) $(DOCFILES) $(DEMOFILES) $(CFGFILE)
|
||||||
demoupload: zip
|
demoupload: demozip
|
||||||
scp $(ZIPFILE) idefix.freepascal.org:public_html/pas2js
|
scp $(ZIPFILE) idefix.freepascal.org:public_html/pas2js
|
||||||
@echo URL: $(URL)$(ZIPFILE)
|
@echo URL: $(URL)$(ZIPFILE)
|
||||||
|
21
Makefile.fpc
21
Makefile.fpc
@ -88,6 +88,7 @@ endif
|
|||||||
#
|
#
|
||||||
# Custom installer
|
# Custom installer
|
||||||
#
|
#
|
||||||
|
.PHONY: democonfig demozip help demoupload
|
||||||
ifndef PAS2JS
|
ifndef PAS2JS
|
||||||
PAS2JS=pas2js
|
PAS2JS=pas2js
|
||||||
endif
|
endif
|
||||||
@ -110,7 +111,7 @@ DEMOFILES+=$(wildcard demo/fpreport/*.lpi)
|
|||||||
DEMOFILES+=$(wildcard demo/fpreport/*.lpr)
|
DEMOFILES+=$(wildcard demo/fpreport/*.lpr)
|
||||||
DEMOFILES+=$(wildcard demo/fpreport/*.pp)
|
DEMOFILES+=$(wildcard demo/fpreport/*.pp)
|
||||||
DEMOFILES+=$(wildcard demo/fpreport/*.md)
|
DEMOFILES+=$(wildcard demo/fpreport/*.md)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.html)
|
DEMOFILdemoinfES+=$(wildcard demo/hotreload/*.html)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.lpr)
|
DEMOFILES+=$(wildcard demo/hotreload/*.lpr)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.lpi)
|
DEMOFILES+=$(wildcard demo/hotreload/*.lpi)
|
||||||
DEMOFILES+=$(wildcard demo/hotreload/*.pas)
|
DEMOFILES+=$(wildcard demo/hotreload/*.pas)
|
||||||
@ -132,15 +133,18 @@ COMPILERS+=$(wildcard $BINDIR/*$(SHAREDLIBEXT))
|
|||||||
URL=http://www.freepascal.org/~michael/pas2js/
|
URL=http://www.freepascal.org/~michael/pas2js/
|
||||||
CFGFILE=bin/$(CPU_TARGET)-$(OS_TARGET)/pas2js.cfg
|
CFGFILE=bin/$(CPU_TARGET)-$(OS_TARGET)/pas2js.cfg
|
||||||
|
|
||||||
demoinfo:
|
help:
|
||||||
@echo "Detected pas2js version: $(PAS2JSVERSION)"
|
@echo "Detected pas2js version: $(PAS2JSVERSION)"
|
||||||
@echo "Supported targets:"
|
@echo "Supported targets:"
|
||||||
|
@echo "help this info"
|
||||||
@echo "all compile for current platform"
|
@echo "all compile for current platform"
|
||||||
@echo "info this info"
|
@echo "install install in an existing FPC installation"
|
||||||
@echo "zip zip file with demo executables"
|
@echo "clean clear files left over by compilation"
|
||||||
@echo "upload upload zip to $(URL)$(ZIPFILE)"
|
@echo "distclean clean + remove build files"
|
||||||
@echo "config create config file in bin dir"
|
@echo "info show all used variables"
|
||||||
@echo "URL for $(PAS2JSVERSION): $(URL)$(ZIPFILE)"
|
@echo "zipinstall create zip file which can be installed in a FPC installation."
|
||||||
|
@echo "democonfig create config file in bin dir"
|
||||||
|
@echo "demozip create alternate demo zip file (deprecated)"
|
||||||
|
|
||||||
utils/createconfig$(SRCEXEEXT): utils/createconfig.pp
|
utils/createconfig$(SRCEXEEXT): utils/createconfig.pp
|
||||||
$(FPC) utils/createconfig.pp
|
$(FPC) utils/createconfig.pp
|
||||||
@ -154,6 +158,7 @@ demozip: democonfig
|
|||||||
cp compiler/utils/pas2js/dist/rtl.js packages/rtl
|
cp compiler/utils/pas2js/dist/rtl.js packages/rtl
|
||||||
zip $(ZIPFILE) $(COMPILERS) $(RTLFILES) $(PACKAGEFILES) $(DOCFILES) $(DEMOFILES) $(CFGFILE)
|
zip $(ZIPFILE) $(COMPILERS) $(RTLFILES) $(PACKAGEFILES) $(DOCFILES) $(DEMOFILES) $(CFGFILE)
|
||||||
|
|
||||||
demoupload: zip
|
demoupload: demozip
|
||||||
scp $(ZIPFILE) idefix.freepascal.org:public_html/pas2js
|
scp $(ZIPFILE) idefix.freepascal.org:public_html/pas2js
|
||||||
@echo URL: $(URL)$(ZIPFILE)
|
@echo URL: $(URL)$(ZIPFILE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user