-
Notifications
You must be signed in to change notification settings - Fork 0
/
autogen.sh
executable file
·22 lines (18 loc) · 1019 Bytes
/
autogen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
aclocal -I m4 \
&& libtoolize --force --copy \
&& autoheader \
&& automake --add-missing --foreign --copy \
&& autoconf \
&& intltoolize --copy --force --automake \
&& perl -i -pe "s/^DISTFILES\b/# Makevars gets inserted here. (Don't remove this line!)\n\nDISTFILES/" po/Makefile.in.in \
&& perl -i -pe 's/\bscm\b/scm-workaround/g' intltool-update.in \
&& perl -i -pe 's%"(POTFILES.(skip|ignore))"%"\$SRCDIR/$1"%g' intltool-update.in \
&& perl -i -pe 's%(-f "\$SRCDIR/../\$dummy")%$1 and ! -f "../\$dummy"%' intltool-update.in
# Since intltool 0.32 and later does not include po/Makevars into Makefile by
# default as we expected, I do the '# Makevars' workaround here. See
# config.status for further details. -- YamaKen 2006-12-28
# To cancel the unwanted special treatment for *.scm by intltool-update, change
# the suffix here. -- YamaKen 2006-12-29
# To fix the case intltool-update -m on (srcdir != builddir), the
# $SRCDIR-related lines are patched here. -- YamaKen 2006-12-29