fix: Allow building on non-adulau system

pull/21/head
Hannah Ward 2019-02-19 17:34:11 +00:00
parent 811ec18053
commit 4d4940c085
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
7 changed files with 26 additions and 7 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.html
*.xml

View File

@ -30,7 +30,25 @@ If you want to see how a threat intelligence can be easily expressed in MISP sta
[Installing MISP](https://www.misp-project.org/download/) is also another option to see the MISP standards in action. The MISP standards are actively used in the MISP threat intelligence platform to support the complete chain from intelligence creation, sharing, distribution and synchronisation.
## Building the RFCs
These RFCs use [mmark](https://mmark.nl/) to generate - get a release [from the Github Repo](https://github.com/miekg/mmark/releases) and make sure it's in your PATH.
You'll also need `xml2rfc` - install using `sudo pip3 isntall xml2rfc`
```bash
for directory in $(find . -type d -iname "misp*"); do;
echo "Building $directory...";
cd $directory;
make;
cd ..;
done;
```
cd misp-core-format
make
```
# Contribution
If you want to contribute to the MISP specifications, feel free to [open an issue](https://github.com/MISP/misp-rfc/issues).

View File

@ -1,4 +1,4 @@
MMARK:=/home/adulau/git/mmark/mmark/mmark -xml2 -page
MMARK:=mmark -xml2 -page
docs = $(wildcard *.md)
@ -6,4 +6,3 @@ all: $(docs)
$(MMARK) $< > $<.xml
xml2rfc --text $<.xml
xml2rfc --html $<.xml

View File

@ -1,4 +1,4 @@
MMARK:=/home/adulau/git/mmark/mmark/mmark -xml2 -page
MMARK:=mmark -xml2 -page
docs = $(wildcard *.md)

View File

@ -1,4 +1,4 @@
MMARK:=/home/adulau/git/mmark/mmark/mmark -xml2 -page
MMARK:=mmark -xml2 -page
docs = $(wildcard *.md)

View File

@ -1,4 +1,4 @@
MMARK:=/home/adulau/git/mmark/mmark/mmark -xml2 -page
MMARK:=mmark -xml2 -page
docs = $(wildcard *.md)

View File

@ -1,4 +1,4 @@
MMARK:=/home/adulau/git/mmark/mmark/mmark -xml2 -page
MMARK:=mmark -xml2 -page
docs = $(wildcard *.md)