2002-08-05 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * stepmake/bin/make-version.py: robustify.
+
* input/test/rhythm-excercise.ly: new file
* input/test/blank-notes.ly: new file
Could also do with a cleanup. Lost inspiration to fix this manual
where to describe what?
-
-
@end ignore
@c @node Merging text and music with lilypond-book
@c @chapter Merging text and music with lilypond-book
+@c fix this node name , this is too long.
+
@node Insert music snippets into your texts using lilypond-book
@chapter Insert music snippets into your texts using lilypond-book
If the variable @code{lastpagefill} is defined (that is, it gets any
value assigned in the @code{\paper} block), systems are evenly
-distributed vertically on the last page. This might produce ugly results
-in case there are not enough systems on the last page. Note that
-@command{lilypond-book} ignores @code{lastpagefill}. See
-@ref{Merging text and music with lilypond-book} for more information.
+distributed vertically on the last page. This might produce ugly
+results in case there are not enough systems on the last page. Note
+that @command{lilypond-book} ignores @code{lastpagefill}. See
+@ref{Insert music snippets into your texts using lilypond-book} for
+more information.
@cindex @code{lastpagefill}
SCM value = cached; /* We store this one locally, since G++ -O2 fucks up else */ \
if ( __builtin_constant_p ((x)))\
{ if (!cached)\
- value = cached = scm_gc_protect_object (my_gh_symbol2scm((x)));\
+ value = cached = scm_gc_protect_object (gh_symbol2scm((x)));\
} else\
value = gh_symbol2scm ((char*) (x)); \
value; })
#include <stdio.h>
#include <assert.h>
#include <locale.h>
-#include <stdio.h>
+#include <string.h>
#include "config.h"
#include <ctype.h>
-//#include <iostream>
-
#include "translator-def.hh"
#include "lily-guile.hh"
#include "change-iterator.hh"
defs.append ((m.group(1), m.group(2)))
-sys.stdout.write ('/* automatically generated */')
+sys.stdout.write (r'''
+#ifndef VERSION_HH
+#define VERSION_HH
+/* automatically generated */
+
+
+''')
for d in defs:
- sys.stdout.write ('#define %s \"%s\"\n' % d)
+
+ # GUILE leaks autoconf data into userspace.
+ sys.stdout.write ('#ifdef %s\n' % d[0])
+ sys.stdout.write ('#undef %s\n' % d[0])
+ sys.stdout.write ('#endif /* %s */\n' % d[0])
+
+ sys.stdout.write ('#define %s "%s"\n' % d)
+
if ('MY_PATCH_LEVEL', '') in defs:
sys.stdout.write ('#define NO_MY_PATCHLEVEL')
-sys.stdout.write('\n');
+sys.stdout.write(r'''
+#endif
+''')