[Scons-users] Installed files not removed by "scons -c"

Davide Coppola vivaladav at gmail.com
Tue Mar 18 18:46:14 EDT 2014


Hey William,

here a simple package I made to reproduce the bug:
http://davidecoppola.com/data/scons_bug_install.zip

And here the execution log I got:

m3xican at m3xbox:~/dev/tests/scons/bug_install$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Install file: "data/fonts/font.ttf" as
"bin/debug/game/assets/fonts/font.ttf"
Install directory: "data/imgs/backgrounds" as
"bin/debug/game/assets/imgs/backgrounds"
g++ -o build/debug/main.o -c -Wall -g -O0 -DDEBUG -DLINUX src/main.cpp
g++ -o bin/debug/game/my_game build/debug/main.o
scons: done building targets.

m3xican at m3xbox:~/dev/tests/scons/bug_install$ tree bin
bin
└── debug
└── game
├── assets
│ ├── fonts
│ │ └── font.ttf
│ └── imgs
│ └── backgrounds
│ └── bg1.png
└── my_game

6 directories, 3 files

m3xican at m3xbox:~/dev/tests/scons/bug_install$ scons -c
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed bin/debug/game/assets/fonts/font.ttf
Removed build/debug/main.o
Removed bin/debug/game/my_game
scons: done cleaning targets.

m3xican at m3xbox:~/dev/tests/scons/bug_install$ tree bin
bin
└── debug
└── game
└── assets
├── fonts
└── imgs
└── backgrounds
└── bg1.png

6 directories, 1 file

Hope this helps.

cheers

--
Davide Coppola

*email:* vivaladav at gmail.com
*website:* http://www.davidecoppola.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140318/78bce14d/attachment.htm


More information about the Scons-users mailing list