File: bootstrap

package info (click to toggle)
system-config-printer 1.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,664 kB
  • ctags: 2,177
  • sloc: python: 21,393; sh: 4,602; ansic: 1,470; xml: 775; makefile: 350
file content (22 lines) | stat: -rwxr-xr-x 704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
intltoolize --force --copy
aclocal
touch ChangeLog # keep automake happy
automake --copy --add-missing
autoconf

# If this is a git repository, and git-merge-changelog is available,
# use it.
if [ -d .git ] && git --version 2>/dev/null >/dev/null && \
  git-merge-changelog 2>/dev/null >/dev/null; then
  git config merge.merge-changelog.name 'GNU-style ChangeLog merge driver'
  git config merge.merge-changelog.driver 'git-merge-changelog %O %A %B'
fi

if [ -x /usr/bin/tx ]; then
  rm -rf .tx
  tx init --host=https://www.transifex.com
  tx set --execute --auto-local -r system-config-printer.default \
    'po/<lang>.po' --source-lang en \
    --source-file po/system-config-printer.pot
fi