8da250dad4b11c4983031742a83fb8f358044fe0Stéphane GraberEXTRA_DIST = \
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber abstractions/container-base \
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn abstractions/container-base.in \
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber abstractions/start-container \
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn container-rules \
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn container-rules.base \
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn lxc-containers \
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn lxc-generate-aa-rules.py \
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber profiles/lxc-default \
dc76ac7ab5295b8ad40ac57c51e03da4dbd28479Serge Hallyn profiles/lxc-default-cgns \
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber profiles/lxc-default-with-mounting \
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber profiles/lxc-default-with-nesting \
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber usr.bin.lxc-start
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberif ENABLE_APPARMOR
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberinstall-apparmor:
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber $(MKDIR_P) $(DESTDIR)$(sysconfdir)/apparmor.d/
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber $(MKDIR_P) $(DESTDIR)$(sysconfdir)/apparmor.d/abstractions/lxc/
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber $(MKDIR_P) $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/abstractions/container-base $(DESTDIR)$(sysconfdir)/apparmor.d/abstractions/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/abstractions/start-container $(DESTDIR)$(sysconfdir)/apparmor.d/abstractions/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/profiles/lxc-default $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/profiles/lxc-default-cgns $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/profiles/lxc-default-with-mounting $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/profiles/lxc-default-with-nesting $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/lxc-containers $(DESTDIR)$(sysconfdir)/apparmor.d/
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin $(INSTALL_DATA) $(srcdir)/usr.bin.lxc-start $(DESTDIR)$(sysconfdir)/apparmor.d/
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberuninstall-apparmor:
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/usr.bin.lxc-start
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/lxc-containers
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/lxc-default-with-nesting
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/lxc-default-with-mounting
dc76ac7ab5295b8ad40ac57c51e03da4dbd28479Serge Hallyn rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/lxc-default-cgns
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/lxc-default
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/abstractions/lxc/start-container
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rm -f $(DESTDIR)$(sysconfdir)/apparmor.d/abstractions/lxc/container-base
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rmdir $(DESTDIR)$(sysconfdir)/apparmor.d/lxc/ || :
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rmdir $(DESTDIR)$(sysconfdir)/apparmor.d/abstractions/lxc/ || :
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber rmdir $(DESTDIR)$(sysconfdir)/apparmor.d/ || :
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberinstall-data-local: install-apparmor
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberuninstall-local: uninstall-apparmor
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberendif