summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7785ac3)
sort commits, and use .git-commits-done file.
+2006-11-03 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * buildscripts/git-update-changelog.py:
+ sort commits, and use .git-commits-done file.
+
+ * GNUmakefile.in:
+ * elisp/GNUmakefile:
+ dist emacs patches too.
+
2006-11-02 Han-Wen Nienhuys <hanwen@lilypond.org>
* scm/autochange.scm:
2006-11-02 Han-Wen Nienhuys <hanwen@lilypond.org>
* scm/autochange.scm:
TOPDOC_TXT_FILES = $(addprefix $(top-build-dir)/Documentation/topdocs/$(outdir)/,$(addsuffix .txt,$(TOPDOC_FILES)))
IN_FILES := $(call src-wildcard,*.in)
TOPDOC_TXT_FILES = $(addprefix $(top-build-dir)/Documentation/topdocs/$(outdir)/,$(addsuffix .txt,$(TOPDOC_FILES)))
IN_FILES := $(call src-wildcard,*.in)
-PATCH_FILES = emacsclient.patch server.el.patch
EXTRA_DIST_FILES = VERSION .cvsignore SConstruct \
EXTRA_DIST_FILES = VERSION .cvsignore SConstruct \
- $(README_FILES) $(SCRIPTS) $(IN_FILES) $(PATCH_FILES)
+ $(README_FILES) $(SCRIPTS) $(IN_FILES)
INSTALLATION_DIR=$(local_lilypond_datadir)
INSTALLATION_FILES=$(config_make) VERSION
INSTALLATION_DIR=$(local_lilypond_datadir)
INSTALLATION_FILES=$(config_make) VERSION
+# WARNING WARNING WARNING
+# do not edit! this is autogen.sh, generated from /home/lilydev/src/lilypond/stepmake/autogen.sh
+#!/bin/sh
# Run this to generate configure and initial GNUmakefiles
srcdir=`dirname $0`
# Run this to generate configure and initial GNUmakefiles
srcdir=`dirname $0`
done
#conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
done
#conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
-#conf_flags="--with-ncsb-dir=/usr/share/fonts/default/Type1/"
-
if test -n "$NOCONFIGURE"; then
echo Skipping configure process.
exit 0
if test -n "$NOCONFIGURE"; then
echo Skipping configure process.
exit 0
class PatchFailed(Exception):
pass
class PatchFailed(Exception):
pass
+def sign (x):
+ if x < 0:
+ return -1
+ if x > 0:
+ return 1
+
+ return 0
+
+
class Commit:
def __init__ (self, dict):
for v in ('message',
class Commit:
def __init__ (self, dict):
for v in ('message',
self.email = m.group (2).strip ()
self.name = m.group (1).strip ()
self.diff = read_pipe ('git show %s' % self.committish)
self.email = m.group (2).strip ()
self.name = m.group (1).strip ()
self.diff = read_pipe ('git show %s' % self.committish)
+ def compare (self, other):
+ return sign (time.mktime (self.date) - time.mktime (other.date))
def touched_files (self):
files = []
def touched_files (self):
files = []
if first == log[:len (first)]:
log = log[len (first):]
if first == log[:len (first)]:
log = log[len (first):]
+ try:
+ previously_done = dict((c, 1) for c in open ('.git-commits-done').read ().split ('\n'))
+ except OSError:
+ previously_done = {}
+
+ commits = [c for c in commits if not previously_done.has_key (c.committish)]
+ commits = sorted (commits, cmp=Commit.compare)
+
+
file_adddel = []
collated_log = ''
collated_message = ''
file_adddel = []
collated_log = ''
collated_message = ''
while commits:
c = commits[0]
commits = commits[1:]
while commits:
c = commits[0]
commits = commits[1:]
commits_done.append (c)
if not c.has_patch ():
commits_done.append (c)
if not c.has_patch ():
INSTALLATION_OUT_FILES=$(outdir)/lilypond-words.el
STEPMAKE_TEMPLATES=elisp install install-out
INSTALLATION_OUT_FILES=$(outdir)/lilypond-words.el
STEPMAKE_TEMPLATES=elisp install install-out
+EXTRA_DIST_FILES= emacsclient.patch server.el.patch
include $(depth)/make/stepmake.make
include $(depth)/make/stepmake.make
bool get_program_option (const char *);
bool get_program_option (const char *);
+bool get_program_option (const char *);
+
#endif /* SCM_OPTION_HH */
#endif /* SCM_OPTION_HH */
LY_DEFINE (ly_get_option, "ly:get-option", 1, 0, 0, (SCM var),
"Get a global option setting.")
{
LY_DEFINE (ly_get_option, "ly:get-option", 1, 0, 0, (SCM var),
"Get a global option setting.")
{
+bool
+get_program_option (const char *s)
+{
+ SCM sym = ly_symbol2scm (s);
+
+ return to_boolean (ly_get_option (sym));
+}
+
+
bool
get_program_option (const char *s)
{
bool
get_program_option (const char *s)
{