diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-04 23:43:56 -0700 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-04 23:43:56 -0700 |
commit | 6eff50c84ac3da6723ff0b50841082f15b927d78 (patch) | |
tree | 8187060feb499047ae44fa97815b4a085ac4c148 /Makefile | |
parent | 738dc690ebfd902f0168e47a7a875c5708b8ce18 (diff) | |
parent | 63849f33259e162396da696e0a66976d705b81a6 (diff) | |
download | ponysay-6eff50c84ac3da6723ff0b50841082f15b927d78.tar.gz ponysay-6eff50c84ac3da6723ff0b50841082f15b927d78.tar.bz2 ponysay-6eff50c84ac3da6723ff0b50841082f15b927d78.zip |
Merge pull request #21 from jristz/master
Request submit teses (I hope this is the right way)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -4,10 +4,11 @@ ponysaytruncater: gcc -o "ponysaytruncater" "ponysaytruncater.c" install: all - mkdir -p "$(DESTDIR)/usr/share/ponies" - mkdir -p "$(DESTDIR)/usr/share/ttyponies" - cp ponies/*.pony "$(DESTDIR)/usr/share/ponies/" - cp ttyponies/*.pony "$(DESTDIR)/usr/share/ttyponies/" + mkdir -p "$(DESTDIR)/usr/share/ponysay/" + mkdir -p "$(DESTDIR)/usr/share/ponysay/ponies" + mkdir -p "$(DESTDIR)/usr/share/ponysay/ttyponies" + cp ponies/*.pony "$(DESTDIR)/usr/share/ponysay/ponies/" + cp ttyponies/*.pony "$(DESTDIR)/usr/share/ponysay/ttyponies/" mkdir -p "$(DESTDIR)/usr/bin/" install "ponysay" "$(DESTDIR)/usr/bin/ponysay" @@ -27,8 +28,8 @@ install: all install "manpage.1" "$(DESTDIR)/usr/share/man/man1/ponysay.1" uninstall: - rm -fr "$(DESTDIR)/usr/share/ponies" - rm -fr "$(DESTDIR)/usr/share/ttyponies" + rm -fr "$(DESTDIR)/usr/share/ponysay/ponies" + rm -fr "$(DESTDIR)/usr/share/ponysay/ttyponies" unlink "$(DESTDIR)/usr/bin/ponysay" unlink "$(DESTDIR)/usr/bin/ponysaytruncater" unlink "$(DESTDIR)/usr/bin/ponythink" |