Makefile 456 B

1234567891011121314151617181920212223
  1. WWW_ROOT = ~/public-html/L3Info_Projets
  2. .PHONY: all publish clean
  3. all: $(WWW_ROOT)
  4. $(MAKE) -C www WWW_ROOT=$(WWW_ROOT)
  5. $(MAKE) -C CM1 WWW_ROOT=$(WWW_ROOT)
  6. $(MAKE) -C CM2 WWW_ROOT=$(WWW_ROOT)
  7. $(MAKE) -C CM3 WWW_ROOT=$(WWW_ROOT)
  8. $(WWW_ROOT):
  9. mkdir -p $(WWW_ROOT)
  10. publish: all
  11. scp -r $(WWW_ROOT) diran.univ-littoral.fr:public-html/
  12. clean:
  13. rm -rf $(WWW_ROOT)
  14. $(MAKE) -C www clean
  15. $(MAKE) -C CM1 clean
  16. $(MAKE) -C CM2 clean
  17. $(MAKE) -C CM3 clean