mirror of
https://github.com/erkin/ponysay.git
synced 2025-03-03 16:01:27 +01:00
Edit Makefile for submodule ponyquotes
This commit is contained in:
parent
9520fe8c09
commit
71a87529a5
1 changed files with 8 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -1,4 +1,4 @@
|
||||||
all: ponysaytruncater manpages infomanual ponythinkcompletion
|
all: ponysaytruncater manpages infomanual ponythinkcompletion submodules
|
||||||
|
|
||||||
ponysaytruncater:
|
ponysaytruncater:
|
||||||
gcc -o "ponysaytruncater" "ponysaytruncater.c"
|
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/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"
|
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:
|
ttyponies:
|
||||||
mkdir -p ttyponies
|
mkdir -p ttyponies
|
||||||
for pony in $$(ls --color=no ponies/); do \
|
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/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"
|
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'\
|
@echo -e '\n\n'\
|
||||||
'/--------------------------------------------------\\\n'\
|
'/--------------------------------------------------\\\n'\
|
||||||
'| ___ |\n'\
|
'| ___ |\n'\
|
||||||
|
@ -124,6 +129,7 @@ uninstall:
|
||||||
unlink "$(DESTDIR)/usr/share/man/es/man6/ponythink.6.gz"
|
unlink "$(DESTDIR)/usr/share/man/es/man6/ponythink.6.gz"
|
||||||
unlink "$(DESTDIR)/usr/share/info/ponysay.info.gz"
|
unlink "$(DESTDIR)/usr/share/info/ponysay.info.gz"
|
||||||
unlink "$(DESTDIR)/usr/share/info/ponythink.info.gz"
|
unlink "$(DESTDIR)/usr/share/info/ponythink.info.gz"
|
||||||
|
(cd "ponyquotes4ponysay/"; make DESTDIR="$(DESTDIR)" uninstall)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f "ponysaytruncater"
|
rm -f "ponysaytruncater"
|
||||||
|
@ -133,3 +139,4 @@ clean:
|
||||||
rm -f "manuals/manpage.6.gz"
|
rm -f "manuals/manpage.6.gz"
|
||||||
rm -f "manuals/manpage.es.6.gz"
|
rm -f "manuals/manpage.es.6.gz"
|
||||||
rm -f "ponysay.info.gz"
|
rm -f "ponysay.info.gz"
|
||||||
|
(cd "ponyquotes4ponysay/"; make clean)
|
||||||
|
|
Loading…
Add table
Reference in a new issue