aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-22 15:50:42 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-22 15:50:42 +0200
commitcbbb9be76c7ab4d7bec9c7f7afea3dda8fd949b6 (patch)
treee2bc673d836083128ab97e00f23e6f99fc4b7f0a /configure
parentd378b2bc588734020a76c74b2209f0288df4cc8d (diff)
downloadponysay-cbbb9be76c7ab4d7bec9c7f7afea3dda8fd949b6.tar.gz
ponysay-cbbb9be76c7ab4d7bec9c7f7afea3dda8fd949b6.tar.bz2
ponysay-cbbb9be76c7ab4d7bec9c7f7afea3dda8fd949b6.zip
Non-TV ponies
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure35
1 files changed, 25 insertions, 10 deletions
diff --git a/configure b/configure
index 6f8b57d..5c63dd3 100755
--- a/configure
+++ b/configure
@@ -6,7 +6,7 @@ INFODESC=\''My Little Ponies for your terminal'\'
SHELL='bash'
completions='completion/bash-completion.sh completion/fish-completion.fish completion/zsh-completion.zsh'
-shareDirs='ponies ttyponies quotes balloons'
+shareDirs='ponies ttyponies quotes balloons extraponies extrattyponies'
manFiles='manuals/manpage.6 manuals/manpage.es.6'
licenseFiles='COPYING'
@@ -360,15 +360,30 @@ EOF
ttyponies:
mkdir -p "ttyponies"
- for pony in \$\$(ls --color=no "ponies/"); do \\
- echo "building ttypony: \$\$pony" ;\\
- if [ "\`readlink "ponies/\$\$pony"\`" = '' ]; then \\
- ponysay2ttyponysay < "ponies/\$\$pony" | tty2colourfultty -c 1 > "ttyponies/\$\$pony" ;\\
- git add "ttyponies/\$\$pony" ;\\
- else \\
- ln -sf \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\
- git add "ttyponies/\$\$pony" ;\\
- fi ;\\
+ for pony in \$\$(ls --color=no "ponies/"); do \\
+ if [ 1 "\$\$pony" = '.info' ]; then \\
+ echo "building ttypony: \$\$pony" ;\\
+ if [ "\`readlink "ponies/\$\$pony"\`" = '' ]; then \\
+ ponysay2ttyponysay < "ponies/\$\$pony" | tty2colourfultty -c 1 > "ttyponies/\$\$pony" ;\\
+ git add "ttyponies/\$\$pony" ;\\
+ else \\
+ ln -sf \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\
+ git add "ttyponies/\$\$pony" ;\\
+ fi ;\\
+ fi ;\\
+ done
+ mkdir -p "extrattyponies"
+ for pony in \$\$(ls --color=no "extraponies/"); do \\
+ if [ 1 "\$\$pony" = '.info' ]; then \\
+ echo "building extrattypony: \$\$pony" ;\\
+ if [ "\`readlink "extraponies/\$\$pony"\`" = '' ]; then \\
+ ponysay2ttyponysay < "extraponies/\$\$pony" | tty2colourfultty -c 1 > "extrattyponies/\$\$pony" ;\\
+ git add "extrattyponies/\$\$pony" ;\\
+ else \\
+ ln -sf \`readlink "extraponies/\$\$pony"\` "extrattyponies/\$\$pony" ;\\
+ git add "extrattyponies/\$\$pony" ;\\
+ fi ;\\
+ fi ;\\
done
pdfmanual: