Commits

Anonymous committed 89ba0f4

Add a rule to generate the documentation (make doc)

Comments (0)

Files changed (1)

 stone: $(PACKED)
 	$(CC) -package $(PACKAGES) -syntax $(PP) $(CFLAGS) -o $@ $(PACKED) $(SRC) 
 
+doc: stone
+	./stone doc/
+
 src/packed/config_pak.ml: packer
 	$(PACKER) data/config.stone src/packed/config_pak.ml
 
 	rm -rf stone
 	rm -rf $(PACKER)
 	rm -rf $(PACKED)
+	rm -rf doc/site/*