mirror of
https://github.com/lxc/lxcfs.git
synced 2026-02-05 09:46:18 +01:00
Mostly copied from the Ubuntu package. Note someone still needs to write the bsd and gentoo init scripts. (You can look at the sysvinit jobs here and the bsd+gentoo jobs in git://github.com/lxc/cgmanager for inspiration). Closes #71 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
15 lines
377 B
Makefile
15 lines
377 B
Makefile
EXTRA_DIST = lxcfs
|
|
|
|
if INIT_SCRIPT_SYSV
|
|
install-sysvinit: lxcfs
|
|
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
|
|
$(INSTALL_SCRIPT) lxcfs $(DESTDIR)$(sysconfdir)/rc.d/init.d/lxcfs
|
|
|
|
uninstall-sysvinit:
|
|
rm -f $(DESTDIR)$(sysconfdir)/rc.d/init.d/lxcfs
|
|
rmdir $(DESTDIR)$(sysconfdir)/rc.d/init.d || :
|
|
|
|
install-data-local: install-sysvinit
|
|
uninstall-local: uninstall-sysvinit
|
|
endif
|