aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Batu Altunbaş <erkinbatu@gmail.com>2012-02-26 19:14:50 +0100
committerErkin Batu Altunbaş <erkinbatu@gmail.com>2012-02-26 19:14:50 +0100
commit0e7aca39207cad2e41225bfa36bdee84f2a195b8 (patch)
treed4a3c778983360db7f10207d6f535a72111c966c
parent7b75a636b9fbde4b3cc8fdc0ee65e11189dc71e0 (diff)
downloadponysay-0e7aca39207cad2e41225bfa36bdee84f2a195b8.tar.gz
ponysay-0e7aca39207cad2e41225bfa36bdee84f2a195b8.tar.bz2
ponysay-0e7aca39207cad2e41225bfa36bdee84f2a195b8.zip
Makefile
-rw-r--r--COPYING (renamed from LICENSE)2
-rw-r--r--Makefile7
-rwxr-xr-xponysay3
-rwxr-xr-xponythink3
4 files changed, 10 insertions, 5 deletions
diff --git a/LICENSE b/COPYING
index 459b463..6d08ceb 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 0000000..a0e8e88
--- /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 e9e6141..0f81fc5 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 2136187..d43e84d 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