From 0e7aca39207cad2e41225bfa36bdee84f2a195b8 Mon Sep 17 00:00:00 2001 From: Erkin Batu Altunbaş Date: Sun, 26 Feb 2012 19:14:50 +0100 Subject: Makefile --- COPYING | 13 +++++++++++++ LICENSE | 13 ------------- Makefile | 7 +++++++ ponysay | 3 +-- ponythink | 3 +-- 5 files changed, 22 insertions(+), 17 deletions(-) create mode 100644 COPYING delete mode 100644 LICENSE create mode 100644 Makefile diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..6d08ceb --- /dev/null +++ b/COPYING @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2012 Sven-Hendrik Haase and Erkin Batu Altunbaş + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 459b463..0000000 --- a/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2012 Sven-Hendrik Haase and Erkin Batu Altunbaş - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a0e8e88 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +ponydir=/usr/share/ponies/ +scripts=ponysay ponythink +bindir=/usr/bin/ +install: + mkdir $(ponydir) + cp -r ponies $(ponydir) + cp $(scripts) $(bindir) diff --git a/ponysay b/ponysay index e9e6141..0f81fc5 100755 --- a/ponysay +++ b/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 diff --git a/ponythink b/ponythink index 2136187..d43e84d 100755 --- a/ponythink +++ b/ponythink @@ -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 -- cgit