Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
05f3d308
Commit
05f3d308
authored
May 17, 2012
by
Glenn Morris
Browse files
Further simplify install-arch-dep for self-contained NS builds
* Makefile.in (install-arch-dep): Use $write_subdir.
parent
9f1ea7dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
ChangeLog
ChangeLog
+1
-1
Makefile.in
Makefile.in
+10
-7
No files found.
ChangeLog
View file @
05f3d308
2012-05-17 Glenn Morris <rgm@gnu.org>
* Makefile.in (write_subdir): New.
(install-arch-indep): Use $write_subdir.
(install-arch-indep
, install-arch-dep
): Use $write_subdir.
* configure.in (docdir, etcdir, infodir, lispdir):
For a self-contained ns build, set these to the appropriate values.
...
...
Makefile.in
View file @
05f3d308
...
...
@@ -473,15 +473,18 @@ install-arch-dep: mkdir
rm
-f
$(DESTDIR)${bindir}
/
$(EMACS)
;
\
ln
$(DESTDIR)${bindir}
/
$(EMACSFULL)
$(DESTDIR)${bindir}
/
$(EMACS)
||
true
;
\
else
\
(
cd
${ns_appresdir}
||
exit
1
;
\
if
test
-d
share/emacs
;
then
\
for
dir
in
share/emacs/
${version}
/
*
;
do
\
rm
-fr
`
basename
"
$$
dir"
`
;
mv
"
$$
dir"
.
;
\
done
;
\
fi
;
\
rm
-fr
share
)
;
\
subdir
=
${ns_appresdir}
/site-lisp
;
\
${MKDIR_P}
$
${subdir}
;
\
${write_subdir}
||
exit
1
;
\
rm
-rf
${ns_appresdir}
/share
;
\
fi
## In the share directory, we are deleting:
## applications (with emacs.desktop)
## emacs (basically empty)
## icons (duplicates etc/images/icons/hicolor)
## man (maybe we should be installing this one, like info)
## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html
## Needs to be the user running install, so configure can't set it.
set_installuser
=
for
installuser
in
$
${LOGNAME}
$
${USERNAME}
$
${USER}
\
...
...
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