Makefile, INSTALL: Simplify clean/uninstall Makefile targets
commitda9efb53fc48c34d917f28f97a01c1f238eaf01f
authorTobias Klauser <tklauser@distanz.ch>
Fri, 5 Jul 2013 07:21:59 +0000 (5 09:21 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 5 Jul 2013 07:33:13 +0000 (5 09:33 +0200)
tree5e167828b45eebd8a1e604206a03dabbd5c6a24c
parentd0f4e3ab3d194ee55636857f47388ca9a2cb60f3
Makefile, INSTALL: Simplify clean/uninstall Makefile targets

Streamline the Makfile targets by separating the clean targets (which
only affect the build tree) from the uninstall targets (affecting
files installed in the system).

Do this by renaming the 'distclean' target to 'uninstall' and removing
unnecessary aliases. The 'distclean' target serves now as a way to
remove build files and Config. The 'mrproper' will bring the source into
a pristine state as checked out from git.

Summary of the new/changed targets:

  clean:       remove all build related files (but not Config)
  distclean:   'make clean'  + remove Config
  mrproper:    remove all files not in git repository
  uninstall:   remove all files installed by us from the system, but not
               affecting the build environment.
  %_uninstall: tool specific uninstall

The following targets were removed:

  mostlyclean, realclean and clobber.

Also the target names in the INSTALL file are adjusted.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
INSTALL
Makefile