Line | |
---|
1 | ALL: CONTENTS ARCHIVE
|
---|
2 | @echo ALL DONE
|
---|
3 |
|
---|
4 | ARCHIVE:
|
---|
5 | @echo Creating archive...
|
---|
6 | @tar -czf management_scripts.tar.gz etc home usr
|
---|
7 |
|
---|
8 | CONTENTS: SCRIPTS SSD
|
---|
9 |
|
---|
10 | SCRIPTS:
|
---|
11 | @echo Copying management scripts...
|
---|
12 | @find ../scripts -name "*~" -exec rm {} \;
|
---|
13 | @cp -r ../scripts/* .
|
---|
14 |
|
---|
15 | SSD: usr/local/bin/start-stop-daemon
|
---|
16 |
|
---|
17 | # start-stop-daemon:
|
---|
18 | usr/local/bin/start-stop-daemon: ../tools/start-stop-daemon/start-stop-daemon.c
|
---|
19 | @echo Compiling start-stop-daemon...
|
---|
20 | @gcc -Wall -Wextra -Wno-return-type -Os -o $@ $<
|
---|
21 |
|
---|
22 | clean:
|
---|
23 | @echo Cleaning intermediate stuff...
|
---|
24 | @find * -type d -exec rm -R {} \; 2>/dev/null
|
---|
25 | @echo Ignore that error ;)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.