File: generate-potfiles.sh

package info (click to toggle)
openscad 2021.01-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,972 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (30 lines) | stat: -rwxr-xr-x 533 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#
# Generate list of files for translation. The output is saved to po/POTFILES
# which is needed for the xgettext call.

for ui in objects/ui_*.h
do
        for d in mingw64 mingw32 .
        do
            if [ -f "$d/$ui" ]
            then
                echo "$d/$ui"
            fi
        done
done

for src in src/*.h src/*.cc src/*.cpp src/*.mm
do
	echo $src
done

for src in src/parameter/*.h src/parameter/*.cc src/parameter/*.cpp
do
	echo $src
done

for src in src/input/*.h src/input/*.cc
do
	echo $src
done