aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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
+