aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-05-07 20:44:12 +0200
committerMattias Andrée <maandree@operamail.com>2012-05-07 20:44:12 +0200
commitcd41eddbb547b2115d78ab44703f65ad94a99113 (patch)
tree2a18b29e1c82f5103b16bb136c158616d6bde081
parent81cc58c44d95f75d58f282dbc396c295ff13b522 (diff)
downloadponysay-cd41eddbb547b2115d78ab44703f65ad94a99113.tar.gz
ponysay-cd41eddbb547b2115d78ab44703f65ad94a99113.tar.bz2
ponysay-cd41eddbb547b2115d78ab44703f65ad94a99113.zip
mkdir ttyponies and compile truncater
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0345ea1..6a6e8dc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
install:
+ gcc -o ponysaytruncater ponysaytruncater.c
mkdir -p $(DESTDIR)/usr/share/ponies
+ mkdir -p $(DESTDIR)/usr/share/ttyponies
cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
cp -r ttyponies/*.pony $(DESTDIR)/usr/share/ttyponies/
install -Dm755 ponysay $(DESTDIR)/usr/bin/ponysay
+ install -Dm755 ponysaytruncater $(DESTDIR)/usr/bin/ponysaytruncater
ln -sf ponysay $(DESTDIR)/usr/bin/ponythink
uninstall:
@@ -11,4 +14,5 @@ uninstall:
rm -fr $(DESTDIR)/usr/share/ttyponies
# cp -r ttyponies/*.pony $(DESTDIR)/usr/share/ttyponies/
rm -f $(DESTDIR)/usr/bin/ponysay
+ rm -f $(DESTDIR)/usr/bin/ponysaytruncater
unlink $(DESTDIR)/usr/bin/ponythink