ponysay/Makefile
Louis Taylor d6c3c91388 Allow ponysay to be reinstalled.
Force the linking of ponythink to ensure the makefile doesn't error if the
link already exists.
2012-04-16 02:05:43 +01:00

11 lines
363 B
Makefile

install:
mkdir -p $(DESTDIR)/usr/share/ponies
cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
install -Dm755 ponysay $(DESTDIR)/usr/bin/ponysay
ln -sf ponysay $(DESTDIR)/usr/bin/ponythink
uninstall:
rm -fr $(DESTDIR)/usr/share/ponies
# cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
rm -f $(DESTDIR)/usr/bin/ponysay
unlink $(DESTDIR)/usr/bin/ponythink