path: root/src/
authorSergey Poznyakoff <>2011-07-20 09:14:30 (GMT)
committer Sergey Poznyakoff <>2011-07-20 09:14:30 (GMT)
commit69751df3b8f70a6e62f497a8870d81d5d1e14aa4 (patch) (side-by-side diff)
tree85c3f2cf2d4bb091c910cc64ddb408b26f5c3e7d /src/
parentb6aabc9c0877eb5c209244a93627ae232cf71d4d (diff)
Implement --format option.
* (SUBDIRS): Add scheme (conditionally). * (IDEST_COND_GUILE): New condition. * examples/dry-run.scm: Move to scheme. * examples/ Update. * src/ (AM_CPPFLAGS): Add VERSION_SITE. * src/cmdline.opt: New options --format and --load-path. * src/editem.c (str_split_col): Remove static qualifier. * src/guile.c (guile_add_load_path): New function. (load_startup_file): Flush user additions to the load path. Add VERSION_SITE at the beginning. * src/idest.h (list_supported_frames) (str_split_col,guile_add_load_path): New protos. * src/main.c (format_name): New global. (main): Handle --format option. * scheme/dry-run.scm: New file (from examples) * scheme/format.scm: New file. * scheme/idest/format/shortlist.scm: New file.
Diffstat (limited to 'src/') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ b/src/
index db5513a..f9db6c8 100644
--- a/src/
+++ b/src/
@@ -49,4 +49,5 @@ include ../gint/
- -DPKG_SITE=\"$(sitedir)\" \ No newline at end of file
+ -DPKG_SITE=\"$(sitedir)\"\
+ -DVERSION_SITE=\"$(sitedir)/$(VERSION)\"

Return to:

Send suggestions and report system problems to the System administrator.