Bug 333912

Summary: Akonadi has no make uninstall target.
Product: [Frameworks and Libraries] Akonadi Reporter: Martin Steigerwald <Martin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: montel
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Steigerwald 2014-04-26 12:49:21 UTC
Akonadi has no makeuninstall target.

Reproducible: Always

Steps to Reproduce:
martin@merkaba:~/KDE/Dev/akonadi/build#2> history | tail -5
 1272  cmake ..
 1273  make -j4
 1274* akonadictl stop
 1275  sudo make -j4 install
 1276  sudo make uninstall
martin@merkaba:~/KDE/Dev/akonadi/build>
Actual Results:  
martin@merkaba:~/KDE/Dev/akonadi/build> LANG=C sudo make uninstall
make: *** No rule to make target `uninstall'.  Stop.

Expected Results:  
Will uninstall cleanly instead of requiring me to find files to delete manually.

kdepimlibs is also affected. But right now I only build Akonadi to fix issues in 1.12.0 which is currently packaged in Debian Experimental.
Comment 1 Laurent Montel 2014-04-27 08:49:44 UTC
cmake doesn't create uninstall target.
So it's not a bug in akonadi package or kdepimlibs.
Comment 2 Christoph Feck 2014-04-27 11:02:35 UTC
> requiring me to find files to delete manually

CMake creates the file "install_manifest.txt" in the build directory when installing.
Comment 3 Martin Steigerwald 2014-04-27 14:37:26 UTC
Hmmm, okay, I so suppose that

cat install_manifest.txt | xargs echo rm

will remove the self compiled version completely if I remove the "echo" from above line.

Still I am surprised that make uninstall is not considered an important feature. Especially as it seems that there is not much missing to it.

So maybe while its no Akonadi issue, can this be considered on a more global level?

Currently this doesn´t actually invite testers who made the decision to self-compile stuff.