|
|
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 -o atrun atrun.c
12:
13: install: all
14: - rm /bin/at /usr/lib/atrun
15: strip at atrun
16: mv at /bin
17: /etc/chown root /bin/at
18: chmod u+s,og-w /bin/at
19: cp atrun /usr/lib
20:
21: clean:
22: rm -f at atrun
23:
24: dirs:
25: rm -fr $(SPOOL)
26: mkdir $(SPOOL) $(SPOOL)/past
27: /etc/chown root $(SPOOL) $(SPOOL)/past
28: chmod og-w $(SPOOL) $(SPOOL)/past
29: >$(SPOOL)/lasttimedone
30: chmod og-w $(SPOOL)/lasttimedone
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.