diff options
author | Erik Martin-Dorel <erik@martin-dorel.org> | 2017-04-25 10:52:21 +0200 |
---|---|---|
committer | Erik Martin-Dorel <erik@martin-dorel.org> | 2017-04-25 10:59:47 +0200 |
commit | 1a18e33658645a81225c56b5d4f4a4b89434d301 (patch) | |
tree | 877c83a6c6417f49e9159d9e31d9419a12f3b67c /Makefile | |
parent | 758e679ebcfce22099ba4b360b7c0ed7bee2a736 (diff) |
Remove bin/proofgeneral and Update Makefiles accordingly.
Closes ProofGeneral/PG#177
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 4 insertions, 17 deletions
@@ -46,16 +46,11 @@ DOC_SUBDIRS=${DOC_EXAMPLES} */README* */CHANGES */BUGS BATCHEMACS=${EMACS} --batch --no-site-file -q # Scripts to edit paths to shells -BASH_SCRIPTS = isar/interface bin/proofgeneral +BASH_SCRIPTS = isar/interface PERL_SCRIPTS = lego/legotags coq/coqtags isar/isartags -# Scripts to edit path to PG -# the scripts target (part of install) and the cleanscripts target -# (part of clean) work only under the assumption that PG_SCRIPTS is a subset of -# the union of BASH_SCRIPTS and PERL_SCRIPTS. -PG_SCRIPTS = bin/proofgeneral # Scripts to install to bin directory -BIN_SCRIPTS = bin/proofgeneral lego/legotags coq/coqtags isar/isartags +BIN_SCRIPTS = lego/legotags coq/coqtags isar/isartags # Setting load path might be better in Elisp, but seems tricky to do # only during compilation. Another idea: put a function in proof-site @@ -236,7 +231,7 @@ doc.%: FORCE ## scripts: try to patch bash and perl scripts with correct paths ## .PHONY: scripts -scripts: bashscripts perlscripts pgscripts +scripts: bashscripts perlscripts .PHONY: bashscripts bashscripts: @@ -260,18 +255,10 @@ perlscripts: sed -i.orig "s|^#.*!.*/bin/perl.*$$|#!$$perl|" $$i; \ done) -# FIXME: this next edit is really for install case, shouldn't be made -# just when user types 'make' -.PHONY: pgscripts -pgscripts: bashscripts perlscripts - (for i in $(PG_SCRIPTS); do \ - sed -i.rm "s|PGHOMEDEFAULT=.*$$|PGHOMEDEFAULT=${DEST_ELISP}|" $$i; \ - done) - # Set PGHOME path in scripts back to default location. .PHONY: cleanscripts cleanscripts: - (for i in $(PG_SCRIPTS) $(BASH_SCRIPTS) $(PERL_SCRIPTS); do \ + (for i in $(BASH_SCRIPTS) $(PERL_SCRIPTS); do \ if [ -f $$i.rm ] ; then \ rm -f $$i.rm; \ fi; \ |