1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Add a separate build-umit step to the main makefile. This means that the build phase of Umit can occur as a non-root user, which means that "make clean" won't bomb out because it can't delete the directories created by root.

This commit is contained in:
david
2007-09-21 22:10:54 +00:00
parent 39878e619f
commit a26783da29
3 changed files with 13 additions and 2 deletions

View File

@@ -187,18 +187,21 @@ AC_SUBST(TARGETNMAPFE)
AC_SUBST(INSTALLNMAPFE)
# Do they want UMIT?
BUILDUMIT=build-umit
INSTALLUMIT=install-umit
UMIT_CLEAN=umit_clean
UMIT_DIST_CLEAN=umit_dist_clean
AC_ARG_WITH(umit, AC_HELP_STRING([--without-umit], [Skip installation of the UMIT graphical frontend]),
[ case "$with_umit" in
no)
BUILDUMIT=""
INSTALLUMIT=""
UMIT_CLEAN=""
UMIT_DIST_CLEAN=""
;;
esac]
)
AC_SUBST(BUILDUMIT)
AC_SUBST(INSTALLUMIT)
AC_SUBST(UMIT_CLEAN)
AC_SUBST(UMIT_DIST_CLEAN)