Changeset 470

Show
Ignore:
Timestamp:
04/13/07 22:16:44 (2 years ago)
Author:
Gregor
Message:

dsss.conf, sss/install.d, candydoc.tar.gz: Added proper support for one-module sourcelibraries and candydoc.tar.gz.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dsss.conf

    r286 r470  
    44buildflags = -g 
    55 
    6 [+hcf] 
    7 preinstall = install hcf/env.d $INCLUDE_PREFIX/hcf ; \ 
    8 install hcf/path.d $INCLUDE_PREFIX/hcf ; \ 
    9 install hcf/process.d $INCLUDE_PREFIX/hcf 
     6[+candydoc] 
     7preinstall = install candydoc.tar.gz $PREFIX/share/dsss 
     8 
     9[hcf] 
     10type = sourcelibrary 
    1011 
    1112[rebuild] 
  • trunk/sss/install.d

    r371 r470  
    160160            char[][] srcFiles = targetToFiles(build, conf); 
    161161            foreach (file; srcFiles) { 
     162                char[] fdir = getDirName(file); 
     163                char[] pdir = fdir.dup; 
     164                if (fdir != "") fdir ~= std.path.sep; 
     165                if (pdir != "") pdir = std.path.sep ~ pdir; 
     166                 
    162167                copyAndManifest(getBaseName(file), 
    163                                 includePrefix ~ std.path.sep ~ getDirName(file)
    164                                 getDirName(file) ~ std.path.sep); 
     168                                includePrefix ~ pdir
     169                                fdir); 
    165170            } 
    166171