Revision 3add7574 doc/devnotes.rst

b/doc/devnotes.rst
134 134

  
135 135
  $ ghci
136 136
  λ> :set -ddump-splices
137
  λ> :l htools/Ganeti/Objects.hs
137
  λ> :l src/Ganeti/Objects.hs
138 138

  
139 139
And you will get the spliced code as the module is loaded.
140 140

  
......
150 150
or alternatively the manual sequence is::
151 151

  
152 152
  $ make clean
153
  $ make htools/htools HEXTRA="-osuf .o"
154
  $ rm htools/htools
155
  $ make htools/htools HEXTRA="-osuf .prof_o -prof -auto-all"
153
  $ make src/htools HEXTRA="-osuf .o"
154
  $ rm src/htools
155
  $ make src/htools HEXTRA="-osuf .prof_o -prof -auto-all"
156 156

  
157 157
This will build the binary twice, per the TemplateHaskell
158 158
documentation, the second one with profiling enabled.

Also available in: Unified diff