aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPablo Lezaeta <prflr88@gmail.com>2012-08-22 18:10:28 -0400
committerPablo Lezaeta <prflr88@gmail.com>2012-08-22 18:10:28 -0400
commitd67b95bfbbd77a2261b7dbb05e7a69ea335d5be2 (patch)
tree9c3e16b4ebd7b013b78dd72d7603dbb5b03be70f /configure
parentab9a3292a8b6ff40c3d1eded40bae2a29d9b42db (diff)
parent4fcd0b284ff296b41e08056c2dbf35de614e0320 (diff)
downloadponysay-d67b95bfbbd77a2261b7dbb05e7a69ea335d5be2.tar.gz
ponysay-d67b95bfbbd77a2261b7dbb05e7a69ea335d5be2.tar.bz2
ponysay-d67b95bfbbd77a2261b7dbb05e7a69ea335d5be2.zip
Added mising version info to texinfo
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure43
1 files changed, 30 insertions, 13 deletions
diff --git a/configure b/configure
index 0629006..de1ab00 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'
+shareDirs='ponies ttyponies quotes balloons extraponies extrattyponies'
manFiles='manuals/manpage.6 manuals/manpage.es.6'
licenseFiles='COPYING'
@@ -17,7 +17,7 @@ oldInstalledDirs='lib/ponysay share/ponies share/ttyponies bin/ponysaylist.pl'
oldCompiledFiles='truncater ponysaytruncater ponysay.py.install'
oldCompiledDirs=''
-installedFiles='bin/ponysay bin/ponythink doc/ponysay.pdf share/info/ponysay.info.gz share/info/ponythink.info.gz'
+installedFiles='bin/ponysay bin/ponythink doc/ponysay.pdf share/info/ponysay.info.gz share/info/ponythink.info.gz share/ponysay/ucsmap'
installedDirs='share/ponysay lib/ponysay'
compiledFiles='ponysay.info ponysay.info.gz ponysay.install ponysay.install~'
compiledDirs='quotes'
@@ -224,13 +224,16 @@ function makeMakefile()
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/"'
for dir in $shareDirs; do
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/'"$dir"'"'
- echo -en '\t' ; echo 'cp -P "'"$dir"'/"*.* "$(INSTALLDIR)/share/ponysay/'"$dir"'/"'
+ echo -en '\t' ; echo 'cp -P "'"$dir"'/"* "$(INSTALLDIR)/share/ponysay/'"$dir"'/"'
done
echo
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/bin/"'
echo -en '\t' ; echo 'install "ponysay.install" "$(INSTALLDIR)/bin/ponysay"'
echo -en '\t' ; echo 'ln -sf "ponysay" "$(INSTALLDIR)/bin/ponythink"'
echo
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/"'
+ echo -en '\t' ; echo 'install "share/ucsmap" "$(INSTALLDIR)/share/ponysay/ucsmap"'
+ echo
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/licenses/ponysay/"'
for file in $licenseFiles; do
echo -en '\t'
@@ -239,7 +242,6 @@ function makeMakefile()
echo
echo 'install-cache:'
- echo -en '\t' ; echo 'if [ -d "/var/cache/ponysay" ]; then rm -r "/var/cache/ponysay"; fi'
echo -en '\t' ; echo 'mkdir -p "$(DESTDIR)/var/cache/ponysay/"'
echo -en '\t' ; echo 'chmod 777 "$(DESTDIR)/var/cache/ponysay/"'
echo
@@ -358,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: