Lines 54-74
Link Here
|
54 |
install -d $(bindir) |
54 |
install -d $(bindir) |
55 |
install -m 555 -s idle-halt $(bindir) |
55 |
install -m 555 -s idle-halt $(bindir) |
56 |
install -m 4555 -s tcrontab $(bindir) |
56 |
install -m 4555 -s tcrontab $(bindir) |
57 |
install -d $(sysconfdir)/init.d |
57 |
install -d $(sysconfdir) |
58 |
install -m 644 tcrontab.conf $(sysconfdir)/tcrontab |
58 |
install -m 644 tcrontab.conf $(sysconfdir)/tcrontab |
59 |
install -d $(TCRONTAB_AP_LIB) |
59 |
install -d $(TCRONTAB_AP_LIB) |
60 |
install -m 4755 tcrontab-ap $(TCRONTAB_AP_LIB) |
60 |
install -m 4755 tcrontab-ap $(TCRONTAB_AP_LIB) |
61 |
install tcrond.init $(sysconfdir)/init.d/tcrond |
|
|
62 |
install -m 755 libtcrontab-api.so $(TCRONTAB_AP_LIB) |
61 |
install -m 755 libtcrontab-api.so $(TCRONTAB_AP_LIB) |
63 |
install -m 644 libtcrontab-api.a $(TCRONTAB_AP_LIB) |
62 |
install -m 644 libtcrontab-api.a $(TCRONTAB_AP_LIB) |
64 |
install -d $(includedir) |
63 |
install -d $(includedir) |
65 |
install -m 644 tcron.h $(includedir) |
64 |
install -m 644 tcron.h $(includedir) |
66 |
if [ $(prefix) = /usr/local ]; then \ |
65 |
|
67 |
chkconfig --add tcrond; \ |
|
|
68 |
if [ ! -d $(SYS_CRON_SPOOL) ]; then mkdir $(SYS_CRON_SPOOL); fi; \ |
69 |
ldconfig; \ |
70 |
service tcrond restart; \ |
71 |
fi |
72 |
SRCDIR = tcron-$(VERSION) |
66 |
SRCDIR = tcron-$(VERSION) |
73 |
|
67 |
|
74 |
clean: |
68 |
clean: |