@-ify all the things
[rust-101.git] / Makefile
index 0061b2b9faec348e461089d05d15cb6af7cad8ec..40a2a79fd83aec5a494b59be96a7e758aca97cde 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,9 @@ workspace: $(WORKSPACEFILES)
 workspace/src/%.rs: src/%.rs Makefile dup-unimpl.sed
        @mkdir -p .tmp/docs
        @echo "$< -> $@"
-       @sed '/^\s*\/\/@/d;s|\(\s*\)[^\s].*/\*@\*/|\1unimplemented!()|' $< | sed -f dup-unimpl.sed > $@
+       @echo "// ***Remember to enable/add this part in \`main.rs\`!***" > $@
+       @echo >> $@
+       @sed '/^\s*\/\/@/d;s|\(\s*\)\S.*/\*@\*/|\1unimplemented!()|' $< | sed -f dup-unimpl.sed >> $@
 
 workspace/src/main.rs:
        # Don't touch this file