X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/35c4d2161ea07cfbb4085d7e5242ab9939889afa..fff8ebeb3f0b84c71275cbb5adee0aad6114f79b:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 0061b2b..40a2a79 100644 --- 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