summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-01-12 22:33:56 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2022-01-12 22:33:56 -0800
commita9f6ed2f97045c0195780f41a32187493aaca85c (patch)
tree8ad0ee3b07f66cef009a42977c6c22a582078197
parent4fdbb30a97d0b10d64888783d803d1654da1975d (diff)
Fix 'make trypandoc' target.
-rw-r--r--Makefile2
-rw-r--r--trypandoc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2d847f989..fd5108bb4 100644
--- a/Makefile
+++ b/Makefile
@@ -136,7 +136,7 @@ pandoc-templates:
popd
trypandoc:
- ssh -t macfarlane 'cd src/pandoc && git pull && stack install --flag pandoc:trypandoc --flag pandoc:embed_data_files && cd trypandoc && sudo make install'
+ ssh -t macfarlane 'cd src/pandoc && git pull && cabal update && cabal install -ftrypandoc -fembed_data_files --install-method=copy --overwrite-policy=always && cd trypandoc && sudo make install'
update-website:
make -C $(WEBSITE) update
diff --git a/trypandoc/Makefile b/trypandoc/Makefile
index f5f6046b1..cedf37721 100644
--- a/trypandoc/Makefile
+++ b/trypandoc/Makefile
@@ -1,7 +1,7 @@
CGIBIN=/home/website/cgi-bin
TRYPANDOC=/home/website/pandoc.org/try/
CGI=${CGIBIN}/trypandoc
-BIN=/home/jgm/.local/bin/trypandoc
+BIN=/home/jgm/.cabal/bin/trypandoc
install: ${CGI} ${TRYPANDOC}/index.html