diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-24 18:50:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-24 18:50:19 +0200 |
commit | 71a87529a5f753ce55dbf5cf416f5067e20cd71b (patch) | |
tree | 215aade7307c31a45b550da620c4fab09784b96f | |
parent | 9520fe8c09a4c9ab59b7c2e0841b8ffd999a27f3 (diff) | |
download | ponysay-71a87529a5f753ce55dbf5cf416f5067e20cd71b.tar.gz ponysay-71a87529a5f753ce55dbf5cf416f5067e20cd71b.tar.bz2 ponysay-71a87529a5f753ce55dbf5cf416f5067e20cd71b.zip |
Edit Makefile for submodule ponyquotes
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -all: ponysaytruncater manpages infomanual ponythinkcompletion +all: ponysaytruncater manpages infomanual ponythinkcompletion submodules ponysaytruncater: gcc -o "ponysaytruncater" "ponysaytruncater.c" @@ -16,6 +16,9 @@ ponythinkcompletion: sed -e 's/ponysay/ponythink/g' <"completion/fish-completion.fish" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/fish-completion-think.fish" sed -e 's/ponysay/ponythink/g' <"completion/zsh-completion.zsh" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/zsh-completion-think.zsh" +submodules: + (cd "ponyquotes4ponysay/"; make -B) + ttyponies: mkdir -p ttyponies for pony in $$(ls --color=no ponies/); do \ @@ -85,6 +88,8 @@ install: all install-info --dir-file="$(DESTDIR)/usr/share/info/dir" --entry="Miscellaneous" --description="My Little Ponies for your terminal" "$(DESTDIR)/usr/share/info/ponysay.info.gz" install-info --dir-file="$(DESTDIR)/usr/share/info/dir" --entry="Miscellaneous" --description="My Little Ponies for your terminal" "$(DESTDIR)/usr/share/info/ponythink.info.gz" + (cd "ponyquotes4ponysay/"; make DESTDIR="$(DESTDIR)" install) + @echo -e '\n\n'\ '/--------------------------------------------------\\\n'\ '| ___ |\n'\ @@ -124,6 +129,7 @@ uninstall: unlink "$(DESTDIR)/usr/share/man/es/man6/ponythink.6.gz" unlink "$(DESTDIR)/usr/share/info/ponysay.info.gz" unlink "$(DESTDIR)/usr/share/info/ponythink.info.gz" + (cd "ponyquotes4ponysay/"; make DESTDIR="$(DESTDIR)" uninstall) clean: rm -f "ponysaytruncater" @@ -133,3 +139,4 @@ clean: rm -f "manuals/manpage.6.gz" rm -f "manuals/manpage.es.6.gz" rm -f "ponysay.info.gz" + (cd "ponyquotes4ponysay/"; make clean) |