From b2cee466b12ac237a55c8dfbe7503249a6647968 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 1 Apr 2013 01:51:53 +0200 Subject: 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 --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 + -- cgit