summaryrefslogtreecommitdiffstats
path: root/makeaci
Commit message (Expand)AuthorAgeFilesLines
* makeapi, makeaci: do not fail on missing importsJan Cholasta2016-10-241-0/+2
* makeaci, makeapi, oddjob: use the default API contextJan Cholasta2016-06-301-1/+0
* makeaci, makeapi: use in-server APIJan Cholasta2016-06-201-2/+2
* ipaclient: implement thin clientJan Cholasta2016-06-031-3/+1
* makeaci: load additional plugins using API.add_moduleJan Cholasta2016-05-251-2/+7
* Remove unused importsMartin Basti2015-12-231-1/+1
* Use the print functionPetr Viktorin2015-09-011-4/+6
* plugable: Load plugins only from modules imported by APIJan Cholasta2015-07-011-4/+2
* ipalib: Load ipaserver plugins when api.env.in_server is TrueJan Cholasta2015-07-011-0/+1
* makeaci: Use LDAPClient instead of IPASimpleLDAPObjectJan Cholasta2015-04-161-11/+2
* makeaci: Use the DN where the ACI is stored, not the permission's DNPetr Viktorin2014-07-071-1/+1
* Make sure member* attrs are always granted together in read permissionsPetr Viktorin2014-06-111-0/+18
* Add ACI.txtPetr Viktorin2014-06-111-0/+119
' href='#n8'>8 9 10 11 12 13 14 15 16 17 18 19 20 21
if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
    message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")

file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach (file ${files})
    message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
    if (EXISTS "$ENV{DESTDIR}${file}")
        execute_process(
            COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}"
            OUTPUT_VARIABLE rm_out
            RESULT_VARIABLE rm_retval
        )
        if(NOT ${rm_retval} EQUAL 0)
            message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
        endif (NOT ${rm_retval} EQUAL 0)
    else (EXISTS "$ENV{DESTDIR}${file}")
        message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
    endif (EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)