]> git.tdb.fi Git - builder.git/commitdiff
Don't throw up if a package doesn't install anything
authorMikko Rasa <tdb@tdb.fi>
Mon, 12 Feb 2007 09:58:50 +0000 (09:58 +0000)
committerMikko Rasa <tdb@tdb.fi>
Mon, 12 Feb 2007 09:58:50 +0000 (09:58 +0000)
source/builder.cpp

index 7825a20c85dbd091a845e232ac3a1a7764e6c08f..1afc741ef59ee3c9b6c060c55800dea0238f97f0 100644 (file)
@@ -429,7 +429,7 @@ int Builder::create_targets()
                        continue;
 
                Path::Path inst_base;
-               if(i->second->get_buildable())
+               if(i->second->get_buildable() && i->second->get_install_flags())
                        inst_base=i->second->get_prefix();
 
                const ComponentList &components=i->second->get_components();