From 0e7aca39207cad2e41225bfa36bdee84f2a195b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkin=20Batu=20Altunba=C5=9F?= Date: Sun, 26 Feb 2012 19:14:50 +0100 Subject: [PATCH] Makefile --- LICENSE => COPYING | 2 +- Makefile | 7 +++++++ ponysay | 3 +-- ponythink | 3 +-- 4 files changed, 10 insertions(+), 5 deletions(-) rename LICENSE => COPYING (91%) create mode 100644 Makefile diff --git a/LICENSE b/COPYING similarity index 91% rename from LICENSE rename to COPYING index 459b463d..6d08ceb6 100644 --- a/LICENSE +++ b/COPYING @@ -10,4 +10,4 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. You just DO WHAT THE FUCK YOU WANT TO. + 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..a0e8e88c --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +ponydir=/usr/share/ponies/ +scripts=ponysay ponythink +bindir=/usr/bin/ +install: + mkdir $(ponydir) + cp -r ponies $(ponydir) + cp $(scripts) $(bindir) diff --git a/ponysay b/ponysay index e9e6141a..0f81fc59 100755 --- a/ponysay +++ b/ponysay @@ -1,7 +1,6 @@ #!/usr/bin/env bash export PERL_UNICODE=S - -ponydir=$PWD/ponies +ponydir=/usr/share/ponies function ponyf() { if [[ -f ${ponydir}/${1}.cow ]] ; then diff --git a/ponythink b/ponythink index 21361877..d43e84df 100755 --- a/ponythink +++ b/ponythink @@ -1,7 +1,6 @@ #!/usr/bin/env bash export PERL_UNICODE=S - -ponydir=$PWD/ponies +ponydir=/usr/share/ponies function ponyf() { if [[ -f ${ponydir}/${1}.cow ]] ; then