diff options
-rwxr-xr-x | plugins/literasc.py | 2 | ||||
-rw-r--r-- | plugins/wscript | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/literasc.py b/plugins/literasc.py index 0491227..f0b8cc4 100755 --- a/plugins/literasc.py +++ b/plugins/literasc.py @@ -105,7 +105,7 @@ def gen(out, filenames): sys.stderr.write('Failed to open file %s\n' % filename) continue - if filename.endswith('.c'): + if filename.endswith('.c') or filename.endswith('.h'): out.write(format_c_source(filename, file)) elif filename.endswith('.ttl') or filename.endswith('.ttl.in'): out.write(format_ttl_source(filename, file)) diff --git a/plugins/wscript b/plugins/wscript index 0cfd387..f5f6571 100644 --- a/plugins/wscript +++ b/plugins/wscript @@ -29,6 +29,7 @@ def build(bld): files += bld.path.ant_glob('%s/manifest.ttl*' % i) files += bld.path.ant_glob('%s/*.ttl' % i) files += bld.path.ant_glob('%s/*.c' % i) + files += bld.path.ant_glob('%s/*.h' % i) # Compile book sources into book.txt asciidoc source bld(rule = bld_book_src, |