Skip to content

Commit

Permalink
name manual uniquely to avoid conflicts with other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hasu committed Apr 6, 2016
1 parent 2a257ac commit cfd3202
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Expand Up @@ -40,21 +40,21 @@ clean-with-raco :

api-doc :
mkdir -p doc/manual
scribble ++xref-in setup/xref load-collections-xref --html --dest doc/manual --dest-name index.html manual-src/manual.scrbl
scribble ++xref-in setup/xref load-collections-xref --html --dest doc/manual --dest-name index.html manual-src/$(PKGNAME).scrbl

rm-dist :
-rm -r $(DISTHOME)

pdf-manual :
mkdir -p $(DISTHOME)
scribble ++xref-in setup/xref load-collections-xref --redirect-main http://docs.racket-lang.org/ --pdf --dest $(DISTHOME) --dest-name manual.pdf manual-src/manual.scrbl
scribble ++xref-in setup/xref load-collections-xref --redirect-main http://docs.racket-lang.org/ --pdf --dest $(DISTHOME) --dest-name manual.pdf manual-src/$(PKGNAME).scrbl

html-manual :
-rm -r $(DISTHOME)/manual
mkdir -p $(DISTHOME)/manual
scribble ++xref-in setup/xref load-collections-xref --redirect-main http://docs.racket-lang.org/ --html --dest $(DISTHOME)/manual --dest-name index.html manual-src/manual.scrbl
scribble ++xref-in setup/xref load-collections-xref --redirect-main http://docs.racket-lang.org/ --html --dest $(DISTHOME)/manual --dest-name index.html manual-src/$(PKGNAME).scrbl

MIRROR_DIR := /tmp/raco-tmp/magnolisp
MIRROR_DIR := /tmp/raco-tmp/$(PKGNAME)

# this indirection ensures that we only get what we would have in a Git repo
# (using 'git archive' would be more straightforward, but for future proofing)
Expand All @@ -81,7 +81,7 @@ test-integration :

gh-homepage :
( cd gh-pages && git clean -d -f && git rm --ignore-unmatch -rf . )
scribble ++xref-in setup/xref load-collections-xref --redirect-main http://docs.racket-lang.org/ --html --dest gh-pages --dest-name gh-pages/index.html manual-src/manual.scrbl
scribble ++xref-in setup/xref load-collections-xref --redirect-main http://docs.racket-lang.org/ --html --dest gh-pages --dest-name gh-pages/index.html manual-src/$(PKGNAME).scrbl
( cd gh-pages && git add . && git status )

gh-upload :
Expand Down
2 changes: 1 addition & 1 deletion info.rkt
Expand Up @@ -2,7 +2,7 @@
(define name "Magnolisp")
(define blurb
'("A toy programming language."))
(define scribblings '(("manual-src/manual.scrbl" () (experimental))))
(define scribblings '(("manual-src/magnolisp.scrbl" () (experimental))))
(define racket-launcher-libraries '("compiler-cli.rkt"))
(define racket-launcher-names '("mglc"))
(define deps '(("base" #:version "6.3") "data-lib" "scribble-lib"))
Expand Down
File renamed without changes.

0 comments on commit cfd3202

Please sign in to comment.