~cypheon/ocaml-docset

c71f0d660807c56daaaf527c45b5c1d6d096da7e — Johann Rudloff 4 years ago acd601d v4.09.0
Build tgz file as well.
1 files changed, 5 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +5 -1
@@ 3,11 3,12 @@ DOCSET_NAME = ocaml-unofficial
ORIGONAL_DOC_URL = https://caml.inria.fr/distrib/ocaml-4.09/ocaml-4.09-refman-html.tar.gz

ORIGINAL_DOC = files/ocaml-4.09-refman-html.tar.gz
TAR_NAME = $(TARGET)/ocaml-unofficial.tgz
ROOT = $(TARGET)/$(DOCSET_NAME).docset
RESOURCES = $(ROOT)/Contents/Resources
CONTENTS = $(RESOURCES)/Documents

all: docset
all: docset $(TAR_NAME)
docset: mkindex extra-files

$(CONTENTS):


@@ 30,6 31,9 @@ copy: extract $(CONTENTS)
mkindex: copy
	pipenv run ./mkindex.py $(TARGET)/source $(RESOURCES)

$(TAR_NAME): docset
	tar --exclude=.DS_Store -czf $@ -C $(TARGET) $(DOCSET_NAME).docset

extra-files:
	cp Info.plist $(ROOT)/Contents/