File: pango_generate_methods.sh

package info (click to toggle)
pangomm 2.46.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,412 kB
  • sloc: xml: 13,269; cpp: 119; makefile: 89; sh: 52; python: 6
file content (13 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# The script assumes that it resides in the tools/gen_scripts/ directory
# and the defs file will be placed in pango/src.

source "$(dirname "$0")/init_generate.sh"

out_dir="$root_dir/pango/src"

shopt -s extglob # Enable extended pattern matching
shopt -s nullglob # Skip a filename pattern that matches no file
# Process files whose names end with .h, but not with private.h or internal.h.
"$gen_methods" "$source_prefix"/pango/!(*private|*internal).h "$build_prefix"/pango/!(*private).h > "$out_dir"/pango_methods.defs