|
|
1.1 root 1: # This makefile must be run as super-user
2:
3: SPOOL=/usr/spool/at
4:
5: all: at atrun
6:
7: at: at.c
8: cc -Od2 -o at at.c
9:
10: atrun: atrun.c
11: cc -Od2 -o atrun atrun.c
12:
13: install: all
14: rm /bin/at /etc/atrun
15: strip at atrun
16: mv at /usr/bin
17: chown root /usr/bin/at
18: chmod u+s,og-w /usr/bin/at
19: cp atrun /usr/lib
20: chown bin /usr/lib/atrun
21:
22: clean:
23: rm -f at atrun
24:
25: dirs:
26: rm -fr $(SPOOL)
27: mkdir $(SPOOL) $(SPOOL)/past
28: chown root $(SPOOL) $(SPOOL)/past
29: chmod og-w $(SPOOL) $(SPOOL)/past
30: >$(SPOOL)/lasttimedone
31: chmod og-w $(SPOOL)/lasttimedone
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.