Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
59696ae0
Commit
59696ae0
authored
Oct 26, 2012
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Makefile.in (EMACS_NAME): New variable.
(EMACS, install-etc, uninstall): Use $EMACS_NAME.
parent
150f809c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
ChangeLog
ChangeLog
+3
-0
Makefile.in
Makefile.in
+9
-8
No files found.
ChangeLog
View file @
59696ae0
2012-10-26 Glenn Morris <rgm@gnu.org>
* Makefile.in (EMACS_NAME): New variable.
(EMACS, install-etc, uninstall): Use $EMACS_NAME.
* Makefile.in (EMACS, EMACSFULL): Transformations should not be
applied to $EXEEXT.
...
...
Makefile.in
View file @
59696ae0
...
...
@@ -259,7 +259,8 @@ GZIP_INFO = @GZIP_INFO@
TRANSFORM
=
@program_transform_name@
# What emacs should be called when installed.
EMACS
=
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
${EXEEXT}
EMACS_NAME
=
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
EMACS
=
${EMACS_NAME}${EXEEXT}
EMACSFULL
=
`
echo
emacs-
${version}
|
sed
'
$(TRANSFORM)
'
`
${EXEEXT}
# Subdirectories to make recursively.
...
...
@@ -633,12 +634,12 @@ install-man:
## Install those items from etc/ that need to end up elsewhere.
install-etc
:
umask
022
;
${MKDIR_P}
$(DESTDIR)${desktopdir}
dest
=
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
;
\
tmp
=
etc/emacs.tmpdesktop
;
rm
-f
$
${tmp}
;
\
sed
-e
"/^Exec=emacs/ s/emacs/
$
${dest}
/"
\
-e
"/^Icon=emacs/ s/emacs/
$
${dest}
/"
\
emacs_name
=
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
;
\
sed
-e
"/^Exec=emacs/ s/emacs/
$
${emacs_name}
/"
\
-e
"/^Icon=emacs/ s/emacs/
$
${emacs_name}
/"
\
${srcdir}
/etc/emacs.desktop
>
$
${tmp}
;
\
${INSTALL_DATA}
$
${tmp}
$(DESTDIR)${desktopdir}
/
$
${dest
}
.desktop
;
\
${INSTALL_DATA}
$
${tmp}
$(DESTDIR)${desktopdir}
/
$
{EMACS_NAME
}
.desktop
;
\
rm
-f
$
${tmp}
thisdir
=
`
/bin/pwd
`
;
\
cd
${iconsrcdir}
||
exit
1
;
umask
022
;
\
...
...
@@ -702,11 +703,11 @@ uninstall:
fi
)
(
cd
$(DESTDIR)${bindir}
&&
rm
-f
$(EMACSFULL)
$(EMACS)
||
true
)
(
if
cd
$(DESTDIR)${icondir}
;
then
\
rm
-f
hicolor/
*
x
*
/apps/
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
.png
\
hicolor/scalable/apps/
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
.svg
\
rm
-f
hicolor/
*
x
*
/apps/
${EMACS_NAME}
.png
\
hicolor/scalable/apps/
${EMACS_NAME}
.svg
\
hicolor/scalable/mimetypes/
`
echo
emacs-document |
sed
'
$(TRANSFORM)
'
`
.svg
;
\
fi
)
-
rm
-f
$(DESTDIR)${desktopdir}
/
`
echo
emacs |
sed
'
$(TRANSFORM)
'
`
.desktop
-
rm
-f
$(DESTDIR)${desktopdir}
/
${EMACS_NAME}
.desktop
for
file
in
snake-scores tetris-scores
;
do
\
file
=
$(DESTDIR)${gamedir}
/
$
${file}
;
\
[
-s
$
${file}
]
||
rm
-f
$$
file
;
\
...
...
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