From a29defcd148807b18eaf6f35b2bf20d8e6c4ac52 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 17 Jul 2012 18:43:30 +0200 Subject: enjoy ponysay message when installed --- Makefile | 18 ++++++++++++++++++ README | 6 +++--- ponies/pinkiecannon.pony | 12 ++++++------ ttyponies/pinkiecannon.pony | 12 ++++++------ 4 files changed, 33 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 598767d..af9fab3 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,24 @@ install: all install "manuals/manpage.es.6.gz" "$(DESTDIR)/usr/share/man/es/man6/ponysay.6.gz" ln -sf "ponysay.6.gz" "$(DESTDIR)/usr/share/man/es/man6/ponythink.6.gz" + @echo -e '\n\n'\ +'/--------------------------------------------------\\\n'\ +'| ___ |\n'\ +'| / (_) o |\n'\ +'| \__ _ _ __ |\n'\ +'| / / |/ | | / \_| | |\n'\ +'| \___/ | |_/|/\__/ \_/|/ |\n'\ +'| /| /| |\n'\ +'| \| \| |\n'\ +'| ____ |\n'\ +'| | _ \ ___ _ __ _ _ ___ __ _ _ _ |\n'\ +'| | |_) |/ _ \ | '\''_ \ | | | |/ __| / _` || | | | |\n'\ +'| | __/| (_) || | | || |_| |\__ \| (_| || |_| | |\n'\ +'| |_| \___/ |_| |_| \__, ||___/ \__,_| \__, | |\n'\ +'| |___/ |___/ |\n'\ +'\\--------------------------------------------------/' + @echo '' | ./ponysay -f ./`if [[ "$$TERM" = "linux" ]]; then echo ttyponies; else echo ponies; fi`/pinkiecannon.pony | tail --lines=30 ; echo -e '\n' + uninstall: rm -fr "$(DESTDIR)/usr/share/ponysay/ponies" rm -fr "$(DESTDIR)/usr/share/ponysay/ttyponies" diff --git a/README b/README index 13a1868..13a9789 100644 --- a/README +++ b/README @@ -177,11 +177,11 @@ Providing ponies When a pony is added please also add a ttypony version, but if you don't please state so in the pull request so we do not miss the create it; the simplest way to - do this is to run `make ttyponies` after adding the ponies to ponies/, + do this is to run `make -B ttyponies` after adding the ponies to ponies/, - Running `make ttyponies` will build (or rebuild) all ttyponies with a pony present + Running `make -B ttyponies` will build (or rebuild) all ttyponies with a pony present in ponies/, and creates all needed symlinks. - To be able to run `make ttyponies` you must have the packages listed under + To be able to run `make -B ttyponies` you must have the packages listed under [Dependencies for pony providers]. diff --git a/ponies/pinkiecannon.pony b/ponies/pinkiecannon.pony index 4121fc9..bfe68d3 100644 --- a/ponies/pinkiecannon.pony +++ b/ponies/pinkiecannon.pony @@ -1,10 +1,10 @@ $the_cow =<