Index: Makefile =================================================================== --- Makefile (nonexistent) +++ Makefile (revision 4711) @@ -0,0 +1,68 @@ +MENU_RES=../src/menu-default.lht +KEYLIST=../util/keylist.sh +DEBLIST=../util/devhelpers/deblist.sh +ROOT=.. + +all: keys.html user/05_ui/keytree.svg user/05_ui/keytree.txt +# ROOT="" ./Autostyle.sh *.html +# ./datasheet.sh + +include ../Makefile.conf + +user/05_ui/keytree.svg: $(MENU_RES) $(KEYLIST) + $(KEYLIST) --dot user/05_ui/src/node_names.txt $(MENU_RES) > user/05_ui/keytree.dot + dot -Tsvg < user/05_ui/keytree.dot >user/05_ui/keytree.svg + +user/05_ui/keytree.txt: $(MENU_RES) $(KEYLIST) + $(KEYLIST) --lst $(MENU_RES) > user/05_ui/keytree.txt + + +keys.html: $(MENU_RES) $(KEYLIST) + $(KEYLIST) $(MENU_RES) > keys.html + +install_main: + $(SCCBOX) $(HOW) *.html *.txt TODO $(DOCDIR)/ + +install: + $(SCCBOX) mkdir -p "$(DOCDIR)" + cd design && $(MAKE) install + cd developer && $(MAKE) install + cd examples && $(MAKE) install + cd man && $(MAKE) install + cd tutorial && $(MAKE) install + cd user && $(MAKE) install + $(MAKE) install_main HOW="install -f -d" + +linstall: + cd design && $(MAKE) linstall + cd developer && $(MAKE) linstall + cd examples && $(MAKE) linstall + cd man && $(MAKE) linstall + cd tutorial && $(MAKE) linstall + cd user && $(MAKE) linstall + $(MAKE) install_main HOW="install -f -l -d" + +uninstall: + cd design && $(MAKE) uninstall + cd developer && $(MAKE) uninstall + cd examples && $(MAKE) uninstall + cd man && $(MAKE) uninstall + cd tutorial && $(MAKE) uninstall + cd user && $(MAKE) uninstall + $(MAKE) install_main HOW="install -f -u -d" + +clean: + cd design && $(MAKE) clean + cd developer && $(MAKE) clean + cd examples && $(MAKE) clean + cd man && $(MAKE) clean + cd tutorial && $(MAKE) clean + cd user && $(MAKE) clean + +distclean: + cd design && $(MAKE) distclean + cd developer && $(MAKE) distclean + cd examples && $(MAKE) distclean + cd man && $(MAKE) distclean + cd tutorial && $(MAKE) distclean + cd user && $(MAKE) distclean