mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
restore the FastCGI service and move some files back to src/server
This commit is contained in:
22
Makefile
22
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user