TTY ponies in make file

This commit is contained in:
Mattias Andrée 2012-05-07 17:06:42 +02:00
parent 8fae1dd9ba
commit 81cc58c44d

View file

@ -1,11 +1,14 @@
install: install:
mkdir -p $(DESTDIR)/usr/share/ponies mkdir -p $(DESTDIR)/usr/share/ponies
cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/ 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 ponysay $(DESTDIR)/usr/bin/ponysay
ln -sf ponysay $(DESTDIR)/usr/bin/ponythink ln -sf ponysay $(DESTDIR)/usr/bin/ponythink
uninstall: uninstall:
rm -fr $(DESTDIR)/usr/share/ponies rm -fr $(DESTDIR)/usr/share/ponies
# cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/ # cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
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/ponysay
unlink $(DESTDIR)/usr/bin/ponythink unlink $(DESTDIR)/usr/bin/ponythink