mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01:00
d6c3c91388
Force the linking of ponythink to ensure the makefile doesn't error if the link already exists.
11 lines
363 B
Makefile
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
|