Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
fcc47980
Commit
fcc47980
authored
3 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
fix installation of the init.conf skeleton file
parent
01af353a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+2
-12
2 additions, 12 deletions
Makefile
configure
+1
-1
1 addition, 1 deletion
configure
with
3 additions
and
13 deletions
Makefile
+
2
−
12
View file @
fcc47980
...
...
@@ -65,8 +65,7 @@ endif
INSTALL_HTML
:=
$(
wildcard doc/
$(
version
)
/html/
*
.html
)
INSTALL_MAN
:=
$(
wildcard doc/man/
*
/
*
)
INSTALL_DATA
:=
skel/halt skel/init skel/poweroff skel/rc.init skel/rc.init.container
\
skel/rc.shutdown skel/reboot skel/shutdown skel/rc.shutdown.final
INSTALL_CONF
:=
skel/init.conf
skel/rc.shutdown skel/reboot skel/shutdown skel/rc.shutdown.final skel/init.conf
all
:
$(ALL_LIBS) $(ALL_BINS) $(ALL_INCLUDES)
...
...
@@ -100,7 +99,6 @@ install-bin: $(BIN_TARGETS:%=$(DESTDIR)$(bindir)/%)
install-lib
:
$(STATIC_LIBS:lib%.a.xyzzy=$(DESTDIR)$(libdir)/lib%.a)
install-include
:
$(ALL_INCLUDES:src/include/$(package)/%.h=$(DESTDIR)$(includedir)/$(package)/%.h)
install-data
:
$(INSTALL_DATA:skel/%=$(DESTDIR)$(skel)/%)
install-conf
:
$(INSTALL_CONF:skel/%=$(DESTDIR)$(sysconfdir)/66/%)
install-html
:
$(INSTALL_HTML:doc/$(version)/html/%.html=$(DESTDIR)$(datarootdir)/doc/$(package)/$(version)/%.html)
install-man
:
install-man1 install-man5 install-man8
install-man1
:
$(INSTALL_MAN:doc/man/man1/%.1=$(DESTDIR)$(mandir)/man1/%.1)
...
...
@@ -218,14 +216,6 @@ $(DESTDIR)$(mandir)/man8/%.8: doc/man/man8/%.8
-e
's,%%service_userconf%%,
$(
service_userconf
)
,g'
\
-e
's,%%user_log%%,
$(
user_log
)
,g'
$<
>
$@
$(DESTDIR)$(sysconfdir)/66/%
:
skel/%
exec
$(
INSTALL
)
-D
-m
644
$<
$@
grep
--
^
$(
@F
)
< package/modes |
{
read
name mode owner
&&
\
if
[
x
$$
owner
!=
x
]
;
then
chown
--
$$
owner
$@
;
fi
&&
\
chmod
$$
mode
$@
;
}
&&
\
exec sed
-e
"s/@LIVEDIR@/
$(
subst /,
\/
,
$(
livedir
))
/g"
\
-e
"s/@SKEL@/
$(
subst /,
\/
,
$(
skel
))
/g"
$<
>
$@
$(DESTDIR)$(skel)/%
:
skel/%
exec
$(
INSTALL
)
-D
-m
644
$<
$@
grep
--
^
$(
@F
)
< package/modes |
{
read
name mode owner
&&
\
...
...
@@ -269,6 +259,6 @@ lib%.a.xyzzy:
lib%.so.xyzzy
:
exec
$(
CC
)
-o
$@
$(
CFLAGS_ALL
)
$(
CFLAGS_SHARED
)
$(
LDFLAGS_ALL
)
$(
LDFLAGS_SHARED
)
-Wl
,-soname,
$(
patsubst lib%.so.xyzzy,lib%.so.
$(
version_M
)
,
$@
)
$^
$(
EXTRA_LIBS
)
$(
LDLIBS
)
.PHONY
:
it all clean distclean tgz strip install install-dynlib install-libexec install-bin install-lib install-include install-data
install-conf
install-html install-man
.PHONY
:
it all clean distclean tgz strip install install-dynlib install-libexec install-bin install-lib install-include install-data install-html install-man
.DELETE_ON_ERROR
:
This diff is collapsed.
Click to expand it.
configure
+
1
−
1
View file @
fcc47980
...
...
@@ -636,7 +636,7 @@ All rights reserved.*/
#define
${
package_macro_name
}
_VERSION "
$version
"
#define
${
package_macro_name
}
_LIVE "
$livedir
/"
#define
${
package_macro_name
}
_SYSTEM_DIR "
$system_dir
/"
#define
${
package_macro_name
}
_SKEL_DIR "
$s
ysconfdir
/66
/"
#define
${
package_macro_name
}
_SKEL_DIR "
$s
kel
/"
#define
${
package_macro_name
}
_LOGGER_SYSDIR "
$system_log
/"
#define
${
package_macro_name
}
_LOGGER_RUNNER "
$s6log_user
"
#define
${
package_macro_name
}
_LOGGER_TIMESTAMP
$s6log_timestamp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment