restore the FastCGI service and move some files back to src/server

This commit is contained in:
Krasimir Angelov
2022-06-22 11:18:56 +02:00
parent a8ad145aeb
commit 174cc57eb7
21 changed files with 145 additions and 711 deletions

View File

@@ -16,15 +16,10 @@ else
ifeq ($(CABAL_NEW),1)
CMD_PFX=v1-
endif
CMD_OPT="--force-reinstalls"
endif
all: src/runtime/c/libpgf.la src/runtime/haskell/dist/setup-config src/compiler/dist/setup-config
ifeq ($(STACK),1)
stack install
else
(cd src/runtime/haskell; ${CMD} ${CMD_PFX}install)
(cd src/compiler; ${CMD} ${CMD_PFX}install)
endif
all: src/runtime/c/libpgf.la src/runtime/haskell/dist/setup-config src/server/dist/setup-config src/compiler/dist/setup-config
src/runtime/c/libpgf.la: src/runtime/c/Makefile
(cd src/runtime/c; make; sudo make install)
@@ -36,14 +31,13 @@ src/runtime/c/Makefile.in src/runtime/c/configure: src/runtime/c/configure.ac sr
(cd src/runtime/c; autoreconf -i)
src/runtime/haskell/dist/setup-config: src/runtime/c/libpgf.la src/runtime/haskell/pgf2.cabal
ifneq ($(STACK),1)
(cd src/runtime/haskell; cabal ${CMD_PFX}configure)
endif
(cd src/runtime/haskell; ${CMD} ${CMD_PFX}install ${CMD_OPT})
src/compiler/dist/setup-config: src/compiler/gf.cabal src/compiler/Setup.hs src/compiler/WebSetup.hs
ifneq ($(STACK),1)
(cd src/compiler; cabal ${CMD_PFX}configure)
endif
src/server/dist/setup-config: src/server/pgf-service.cabal src/runtime/haskell/dist/setup-config
(cd src/server; ${CMD} ${CMD_PFX}install ${CMD_OPT})
src/compiler/dist/setup-config: src/compiler/gf.cabal src/compiler/Setup.hs src/compiler/WebSetup.hs src/runtime/haskell/dist/setup-config src/server/dist/setup-config
(cd src/compiler; ${CMD} ${CMD_PFX}install ${CMD_OPT})
doc:
${CMD} ${CMD_PFX}haddock