diff Makefile @ 16:2f98cf1558e1

Added building of manual from docbook source to Makefile
author lost@l-w.ca
date Sat, 22 Jan 2011 17:00:15 -0700
parents a0317b794b7b
children 4969bd6f3b7d
line wrap: on
line diff
--- a/Makefile	Sat Jan 22 16:22:51 2011 -0700
+++ b/Makefile	Sat Jan 22 17:00:15 2011 -0700
@@ -28,7 +28,7 @@
 .PHONY: all
 all: $(MAIN_TARGETS)
 
-subdirs := lwasm lwlink lwar lwlib
+subdirs := lwasm lwlink lwar lwlib docs
 
 -include $(subdirs:=/rules.make)
 
@@ -104,6 +104,11 @@
 	@rm -f $(lwasm_objs) $(lwlink_objs) $(lwar_objs) $(lwlib_objs) $(lwobjdump_objs)
 	@rm -f $(extra_clean)
 
+.PHONY: realclean
+realclean: clean
+	@echo "Cleaning up even more"
+	@rm -f docs/manual/*.html docs/manual/*.pdf
+
 print-%:
 	@echo $* = $($*)