summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-05 09:21:59 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-05 09:33:13 +0200
commitda9efb53fc48c34d917f28f97a01c1f238eaf01f (patch)
tree5e167828b45eebd8a1e604206a03dabbd5c6a24c /INSTALL
parentd0f4e3ab3d194ee55636857f47388ca9a2cb60f3 (diff)
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>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL22
1 files changed, 15 insertions, 7 deletions
diff --git a/INSTALL b/INSTALL
index 4df7d1a..1d1d70f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -61,17 +61,25 @@ The installation (deinstallation) process is fairly simple:
$ make
# make install
- (# make distclean)
- ($ make clean)
- (or for both at once: # make mrproper)
+ (# make uninstall)
-You can also build only a particular tool, e.g.:
+In order to remove all build files from the source tree:
+
+ $ make clean
+
+To bring the source tree into a pristine state, there are two options.
+The first one will remove all build and build config file, the latter
+will also remove any manually added files:
+
+ $ make distclean
+ ($ make mrproper)
+
+You can also build/install/uninstall only a particular tool, e.g.:
$ make trafgen
# make trafgen_install
- (# make trafgen_distclean)
- ($ make trafgen_clean)
+ (# make trafgen_uninstall)
If you want to build all tools, but {curvetun,mausezahn} (i.e. because you
don't need the tunneling software and the NaCl build process lasts quite long):
@@ -79,7 +87,7 @@ don't need the tunneling software and the NaCl build process lasts quite long):
$ make allbutcurvetun (allbutmausezahn)
# make install_allbutcurvetun (install_allbutmausezahn)
- (# make mrproper)
+ (# make uninstall)
In order to build curvetun, libnacl must be built first. A helper script
called nacl_build.sh is there to facilitate this process. If you want to