aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-04-01 01:51:53 +0200
committerjaseg <s@jaseg.de>2013-04-01 01:51:53 +0200
commitb2cee466b12ac237a55c8dfbe7503249a6647968 (patch)
tree782adf35d0dcd60f3d251986c28c8f7b38945058 /Makefile
parent60e6b776253cd8120cde44638043c45a51ed27ad (diff)
downloadponysay-b2cee466b12ac237a55c8dfbe7503249a6647968.tar.gz
ponysay-b2cee466b12ac237a55c8dfbe7503249a6647968.tar.bz2
ponysay-b2cee466b12ac237a55c8dfbe7503249a6647968.zip
Made it installable. Also: Fixes!
* Added a Makefile for installing/uninstalling * Made it center one-line texts within speech bubbles * Made it importable * Added a funny test script * Added proper *think support * Fixed chrysalis' quotes file * Fixed a bug wrongly cropping the output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7279fbc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+
+prefix=/usr
+
+install:
+ install -m 0755 ponysay.py $(prefix)/bin
+ ln -s $(prefix)/bin/ponysay.py $(prefix)/bin/ponysay
+ ln -s $(prefix)/bin/ponysay.py $(prefix)/bin/ponythink
+ install -m 0755 -d $(prefix)/share/ponysay
+ install -m 0755 -t $(prefix)/share/ponysay ponies/*
+ install -m 0755 -d $(prefix)/share/doc/ponysay
+ install -m 0755 -t $(prefix)/share/doc/ponysay COPYING
+ install -m 0755 -t $(prefix)/share/doc/ponysay README.md
+
+uninstall:
+ rm $(prefix)/bin/ponysay
+ rm $(prefix)/bin/ponythink
+ rm $(prefix)/bin/ponysay.py
+ rm $(prefix)/share/ponysay/*
+ rmdir $(prefix)/share/ponysay
+ rm $(prefix)/share/doc/ponysay/*
+ rmdir $(prefix)/share/doc/ponysay
+