Contents of /trunk/initscripts/systemd/Makefile
Parent Directory | Revision Log
Revision 2299 -
(show annotations)
(download)
Fri Dec 27 11:11:08 2013 UTC (10 years, 9 months ago) by niro
File size: 572 byte(s)
Fri Dec 27 11:11:08 2013 UTC (10 years, 9 months ago) by niro
File size: 572 byte(s)
-fixed broken pkgconfig cmd
1 | # $Id$ |
2 | |
3 | all: |
4 | |
5 | include ../Makefile.inc |
6 | |
7 | SYSTEMDDIR = $(shell $(PKGCONFIG) systemd --variable=systemdutildir) |
8 | SYSTEMDUNITSDIR = $(shell $(PKGCONFIG) systemd --variable=systemdsystemunitdir) |
9 | |
10 | install_systemd: general |
11 | # install system-units |
12 | install -d -m 0755 $(DESTDIR)$(SYSTEMDDIR) |
13 | install -d -m 0755 $(DESTDIR)$(SYSTEMDUNITSDIR) |
14 | for file in units/services/*; do install -m 0644 $${file} $(DESTDIR)$(SYSTEMDUNITSDIR)/; done |
15 | # install network script |
16 | install -m 0755 units/scripts/network.sh $(DESTDIR)$(SYSTEMDDIR)/magellan-network |
17 | |
18 | .PHONY: all install_systemd general |