9 |
SBINDIR = /sbin |
SBINDIR = /sbin |
10 |
RCDIR = $(SYSCONFDIR)/rc.d |
RCDIR = $(SYSCONFDIR)/rc.d |
11 |
INITDIR = $(RCDIR)/init.d |
INITDIR = $(RCDIR)/init.d |
12 |
SYSTEMDDIR = $(LIBDIR)/systemd |
SYSTEMDDIR = /usr/lib/systemd |
13 |
UNITSDIR = $(SYSTEMDDIR)/system |
UNITSDIR = $(SYSTEMDDIR)/system |
14 |
|
|
15 |
general: |
general: |
27 |
install -d -m 0755 $(DESTDIR)$(SBINDIR) |
install -d -m 0755 $(DESTDIR)$(SBINDIR) |
28 |
for file in sbin/*; do install -m 0755 $${file} $(DESTDIR)$(SBINDIR); done |
for file in sbin/*; do install -m 0755 $${file} $(DESTDIR)$(SBINDIR); done |
29 |
|
|
|
# fix mageversion |
|
|
echo "$$(date +%Y%m%d)-cvs" > $(DESTDIR)$(SYSCONFDIR)/mageversion |
|
|
# fix system-release |
|
|
echo "Magellan-linux release $$(date +%Y%m%d)-cvs (NEXT)" > $(DESTDIR)$(SYSCONFDIR)/system-release |
|
|
|
|
30 |
.PHONY: general |
.PHONY: general |