rogue3: add install and uninstall targets to Makefile.

This commit is contained in:
John "Elwin" Edwards 2013-08-25 19:52:23 -07:00
parent bd7cb16026
commit 41aaefc7b9
2 changed files with 54 additions and 21 deletions

View file

@ -129,26 +129,6 @@ fi
AC_SUBST(SAVEDIR)
AC_ARG_ENABLE([destdir],[AC_HELP_STRING([--enable-destdir=DESTDIR], [chroot to install into])],[],[])
AC_MSG_CHECKING([for chrooted install])
if test "x$enable_destdir" = "xno" ; then
DESTDIR=
elif test "x$enable_destdir" = "xyes" ; then
DESTDIR=
elif test "x$enable_destdir" = "x" ; then
DESTDIR=
else
DESTDIR=$enable_destdir
fi
if test "x$DESTDIR" != "x" ; then
AC_MSG_RESULT([$DESTDIR])
else
AC_MSG_RESULT([disabled])
fi
AC_SUBST(DESTDIR)
AC_ARG_ENABLE([wizardmode],[AC_HELP_STRING([--enable-wizardmode], [enable availability of wizard mode @<:@default=no@:>@])],[],[])
AC_MSG_CHECKING([if wizard mode is enabled])
if test "x$enable_wizardmode" = "xno" ; then