mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
Makefile
This commit is contained in:
parent
7b75a636b9
commit
0e7aca3920
4 changed files with 10 additions and 5 deletions
|
@ -10,4 +10,4 @@
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
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
|
#!/usr/bin/env bash
|
||||||
export PERL_UNICODE=S
|
export PERL_UNICODE=S
|
||||||
|
ponydir=/usr/share/ponies
|
||||||
ponydir=$PWD/ponies
|
|
||||||
|
|
||||||
function ponyf() {
|
function ponyf() {
|
||||||
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
export PERL_UNICODE=S
|
export PERL_UNICODE=S
|
||||||
|
ponydir=/usr/share/ponies
|
||||||
ponydir=$PWD/ponies
|
|
||||||
|
|
||||||
function ponyf() {
|
function ponyf() {
|
||||||
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
||||||
|
|
Loading…
Reference in a new issue