Add json generator script and makefile target

This commit is contained in:
Mike Swanson 2014-10-05 03:39:52 -07:00
parent 1300b3f9e1
commit 863a08b0d4
2 changed files with 95 additions and 0 deletions

View file

@ -110,6 +110,14 @@ dist: $(OBJS) README.html
VERSION=$(VERSION) scripts/makepkgs freedm $(FREEDM) $(DISTDOCS)
VERSION=$(VERSION) scripts/makepkgs freedoom $(FREEDOOM1) $(FREEDOOM2) $(DISTDOCS)
json: $(OBJS)
ifndef JSON
@echo "Define JSON as the file to output." >&2
@exit 1
else
JSON=$(JSON) VERSION=$(VERSION) scripts/makejson
endif
clean:
rm -f *.html deutex.log $(OBJS) \
./wadinfo.txt ./wadinfo_phase1.txt \