tenox7 / ttyplot

a realtime plotting utility for terminal/console with data input from stdin
Apache License 2.0
972 stars 45 forks source link

Add install and uninstall targets #35

Closed sjmulder closed 5 years ago

sjmulder commented 5 years ago

PREFIX is where the program is found after installation, e.g. /usr or /usr/local.

DESTDIR can be used by package build tools and such as a staging directory from which the package is created.

tenox7 commented 5 years ago

Thank you. Could you also add targets to build rpm and deb if it's not too much to ask?

sjmulder commented 5 years ago

I'm afraid that's not as straightforward - in any case I'm not up to the task. You might want to check out packagecore but ideally the distributions will pick it up and package it.

In fact this PR is prep for packaging in pkgsrc, a cross platform package manager.

tenox7 commented 5 years ago

Can you update it so there is no conflict with the new Makefile format. My bad I probably should merged this first.

sjmulder commented 5 years ago

The PRs conflicted when I made them; a trade off for not wanting one to depend on the other.

I've now also added the man page to the install target.

sjmulder commented 5 years ago

Any issues left?

tenox7 commented 5 years ago

none, thanks!