erkin / ponysay

Pony rewrite of cowsay.
GNU General Public License v3.0
1.21k stars 81 forks source link

Add --prefix or --sufix for make ponysay with a pre/sufix #164

Open JotaRandom opened 11 years ago

JotaRandom commented 11 years ago

this can help installing 2 ponysais sharing the same share/ponies for test changes on the .py files

let explain with a example install ponysay-git like any user on the internet (yes, I find that all that arennot from ubuntu use the git and not the tags) and one want test anew option or rendering form but not want reintall, desintal, reintall ponysay completly the idea llow for a --sufix='-next' and ponysay is intalled as ponysay-next without overwritting ponysay (previously intalled) and make fast comparings

what you think, this idea need a liittle of work but what you think??

maandree commented 11 years ago

I am for --pkgname for changing info manual, /usr/share/ponysay, and /usr/share/licenses/ponysay and make the /usr/bin command names editable, which in turn changes the manpages. --prefix and --suffix can be use to autoset those.

Currently ponysay tests if the command ends with ‘think’ to check if the user is running ponythink, this would need to be tweaked if anything other then --prefix is implemented.

I actually have PKGNAME and COMMAND my newer makefiles so this thing can be done, but primarly for package conflicts, so I am all for it.