aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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