aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-04-06 18:36:16 +0200
committerjaseg <s@jaseg.de>2013-04-06 18:38:08 +0200
commita160c991bf93c29af7017ca3476164253a31d444 (patch)
tree404408c13a624e8f2673f94b6990d370070e408e /Makefile
parent06276a6a338aea789965a4028c00aafa9046b5b7 (diff)
downloadponysay-a160c991bf93c29af7017ca3476164253a31d444.tar.gz
ponysay-a160c991bf93c29af7017ca3476164253a31d444.tar.bz2
ponysay-a160c991bf93c29af7017ca3476164253a31d444.zip
Re-organized the repo to include only png source files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0a9b632..9575354 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
PREFIX?=/usr/local
-install:
+install: genponies
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 -t $(PREFIX)/share/ponysay quotes/*
+ install -m 0755 -t $(PREFIX)/share/ponysay genponies/*
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
@@ -26,3 +27,11 @@ uninstall:
reinstall: uninstall install
+genpngs:
+ mkdir genpngs
+ unpixelterm -d genpngs ponies/*.pony
+
+genponies:
+ mkdir genponies
+ pixelterm -d genponies pngs/*.png
+