forked from mumax/3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88b3245
commit 4ea68c1
Showing
28 changed files
with
4,245 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
*.mx3 | ||
*.out | ||
examples.html | ||
api.html | ||
doc | ||
build | ||
doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
BUILDDIR="build" | ||
STATIC="static" | ||
|
||
# build the html pages in ${BUILDDIR} | ||
.PHONY: html | ||
html: doc mumax3libs | ||
mkdir -p ${BUILDDIR} | ||
./doc -examples -builddir ${BUILDDIR} | ||
cp ${STATIC}/* build | ||
|
||
.PHONY: doc | ||
doc: | ||
go build -v | ||
|
||
.PHONY: html | ||
html: doc | ||
.PHONY: mumax3libs | ||
mumax3libs: | ||
go install -v github.com/mumax/3/cmd/... | ||
./doc -vet 2> /dev/null || echo no worries | ||
./doc | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf example*.out example*.mx3 | ||
rm -f doc | ||
|
||
.PHONY: realclean | ||
realclean: clean | ||
rm -f api.html examples.html | ||
rm -rf build | ||
rm -f doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This directory contains everything needed to build the mumax3 website (Home page, API, and examples) | ||
|
||
"make html" builds the complete website in ${BUILDDIR}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.