Last active
          August 29, 2015 14:20 
        
      - 
      
- 
        Save bertrandmartel/31c86c66b818b6df2cb0 to your computer and use it in GitHub Desktop. 
    [ SHELL - MAKEFILE ] Copy only headers file in release folder without putting project directory tree inside
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | rsync -avm --include=*/ --include=*.h --exclude=* project/ project/release | |
| # >ls release | |
| # project_subdir1 | |
| # project_subdir2 | |
| # project_subdir3 | |
| # executable | |
| # for qmake QMAKE_POST_LINK +=$$quote(rsync -avm --include=*/ --include=*.h --exclude=* $${PWD}/ $${PWD}/$${DESTDIR}) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment