Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
87c7e080
Commit
87c7e080
authored
Jan 16, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init: Simplify Makefile somehow
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
Acked-by:
Serge E. Hallyn
<
serge.hallyn@ubuntu.com
>
parent
8da250da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
+5
-15
Makefile.am
config/init/systemd/Makefile.am
+3
-5
Makefile.am
config/init/sysvinit/Makefile.am
+1
-5
Makefile.am
config/init/upstart/Makefile.am
+1
-5
No files found.
config/init/systemd/Makefile.am
View file @
87c7e080
...
@@ -8,6 +8,7 @@ SYSTEMD_UNIT_DIR = /lib/systemd/system
...
@@ -8,6 +8,7 @@ SYSTEMD_UNIT_DIR = /lib/systemd/system
else
else
SYSTEMD_UNIT_DIR
=
/usr/lib/systemd/system
SYSTEMD_UNIT_DIR
=
/usr/lib/systemd/system
endif
endif
install-systemd
:
lxc.service lxc-devsetup
install-systemd
:
lxc.service lxc-devsetup
$(MKDIR_P)
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
$(MKDIR_P)
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
$(INSTALL_DATA)
lxc.service
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
/
$(INSTALL_DATA)
lxc.service
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
/
...
@@ -15,12 +16,9 @@ install-systemd: lxc.service lxc-devsetup
...
@@ -15,12 +16,9 @@ install-systemd: lxc.service lxc-devsetup
uninstall-systemd
:
uninstall-systemd
:
rm
-f
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
/lxc.service
rm
-f
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
/lxc.service
rmdir
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
||
:
rmdir
$(DESTDIR)$(SYSTEMD_UNIT_DIR)
||
:
pkglibexec_SCRIPTS
=
lxc-devsetup
pkglibexec_SCRIPTS
=
lxc-devsetup
else
install-systemd
:
uninstall-systemd
:
endif
install-data-local
:
install-systemd
install-data-local
:
install-systemd
uninstall-local
:
uninstall-systemd
uninstall-local
:
uninstall-systemd
endif
config/init/sysvinit/Makefile.am
View file @
87c7e080
...
@@ -8,11 +8,7 @@ install-sysvinit: lxc
...
@@ -8,11 +8,7 @@ install-sysvinit: lxc
uninstall-sysvinit
:
uninstall-sysvinit
:
rm
-f
$(DESTDIR)$(sysconfdir)
/rc.d/init.d/lxc
rm
-f
$(DESTDIR)$(sysconfdir)
/rc.d/init.d/lxc
rmdir
$(DESTDIR)$(sysconfdir)
/rc.d/init.d
||
:
rmdir
$(DESTDIR)$(sysconfdir)
/rc.d/init.d
||
:
else
install-sysvinit
:
uninstall-sysvinit
:
endif
install-data-local
:
install-sysvinit
install-data-local
:
install-sysvinit
uninstall-local
:
uninstall-sysvinit
uninstall-local
:
uninstall-sysvinit
endif
config/init/upstart/Makefile.am
View file @
87c7e080
...
@@ -12,11 +12,7 @@ uninstall-upstart:
...
@@ -12,11 +12,7 @@ uninstall-upstart:
rm
-f
$(DESTDIR)$(sysconfdir)
/init/lxc-instance.conf
rm
-f
$(DESTDIR)$(sysconfdir)
/init/lxc-instance.conf
rm
-f
$(DESTDIR)$(sysconfdir)
/init/lxc-net.conf
rm
-f
$(DESTDIR)$(sysconfdir)
/init/lxc-net.conf
rmdir
$(DESTDIR)$(sysconfdir)
/init
||
:
rmdir
$(DESTDIR)$(sysconfdir)
/init
||
:
else
install-upstart
:
uninstall-upstart
:
endif
install-data-local
:
install-upstart
install-data-local
:
install-upstart
uninstall-local
:
uninstall-upstart
uninstall-local
:
uninstall-upstart
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment