mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
Makefile
This commit is contained in:
parent
7b75a636b9
commit
0e7aca3920
4 changed files with 10 additions and 5 deletions
7
Makefile
Normal file
7
Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
ponydir=/usr/share/ponies/
|
||||
scripts=ponysay ponythink
|
||||
bindir=/usr/bin/
|
||||
install:
|
||||
mkdir $(ponydir)
|
||||
cp -r ponies $(ponydir)
|
||||
cp $(scripts) $(bindir)
|
3
ponysay
3
ponysay
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
export PERL_UNICODE=S
|
||||
|
||||
ponydir=$PWD/ponies
|
||||
ponydir=/usr/share/ponies
|
||||
|
||||
function ponyf() {
|
||||
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
export PERL_UNICODE=S
|
||||
|
||||
ponydir=$PWD/ponies
|
||||
ponydir=/usr/share/ponies
|
||||
|
||||
function ponyf() {
|
||||
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
||||
|
|
Loading…
Reference in a new issue