Last change
on this file since 34 was 29, checked in by alloc, 10 years ago |
Bundle creator adds version to output archive
|
File size:
597 bytes
|
Rev | Line | |
---|
[4] | 1 | ALL: CONTENTS ARCHIVE
|
---|
| 2 | @echo ALL DONE
|
---|
| 3 |
|
---|
| 4 | ARCHIVE:
|
---|
| 5 | @echo Creating archive...
|
---|
[29] | 6 | @tar -czf management_scripts_v`cat usr/local/lib/7dtd/VERSION | grep "version" | cut -d\ -f3`.tar.gz etc home usr
|
---|
[4] | 7 |
|
---|
| 8 | CONTENTS: SCRIPTS SSD
|
---|
| 9 |
|
---|
| 10 | SCRIPTS:
|
---|
| 11 | @echo Copying management scripts...
|
---|
| 12 | @find ../scripts -name "*~" -exec rm {} \;
|
---|
| 13 | @cp -r ../scripts/* .
|
---|
| 14 |
|
---|
[25] | 15 | SSD:
|
---|
| 16 | @echo Copying start-stop-daemon source...
|
---|
| 17 | @find ../tools -name "*~" -exec rm {} \;
|
---|
| 18 | @cp -r ../tools/start-stop-daemon usr/local/lib/7dtd
|
---|
[4] | 19 |
|
---|
| 20 | clean:
|
---|
| 21 | @echo Cleaning intermediate stuff...
|
---|
[27] | 22 | -@find * -type d -exec rm -R {} \; 2>/dev/null
|
---|
| 23 | @echo "Ignore that error ;)"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.