Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lyskom-elisp-client
lyskom-elisp-client
Commits
488b98f4
Commit
488b98f4
authored
Feb 25, 2001
by
Joel Rosdahl
Browse files
Don't remove spec file when cleaning. Include spec file in archive.
parent
dbc63433
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
488b98f4
...
...
@@ -170,7 +170,7 @@ TAGS: $(HEADER) $(SOURCES)
install
:
$(TARGET) $(TARGET-EL)
cp
$
(
TARGET-EL
)
$(TARGET)
$(LISPDIR)
release
:
release-files release-move
release-cleanup
release
:
release-files release-move
release-files
:
$(HEADER) $(SOURCES) $(DISTSRC) $(MISC)
mkdir
lyskom-
$(CLIENTVERSION)
...
...
@@ -182,6 +182,7 @@ release-files: $(HEADER) $(SOURCES) $(DISTSRC) $(MISC)
for
i
in
$(DOCFILES)
;
do
\
cp
../doc/
$$
i lyskom-
$(CLIENTVERSION)
/
$$
i
;
\
done
sed
-e
"s/#CLIENTVERSION#/
$(CLIENTVERSION)
/"
-e
"s/#REDHATCLIENTVERSION#/
$(REDHATCLIENTVERSION)
/"
<lyskom-elisp-client.spec
>
lyskom-
$(CLIENTVERSION)
/lyskom-elisp-client-
$(REDHATCLIENTVERSION)
.spec
(
cd
lyskom-
$(CLIENTVERSION)
;
\
autoconf
;
\
./configure
--prefix
=
$(DEFAULTPREFIX)
--with-lispdir
=
$(DEFAULTLISPDIR)
;
\
...
...
@@ -191,12 +192,6 @@ release-files: $(HEADER) $(SOURCES) $(DISTSRC) $(MISC)
gzip
-9
lyskom-
$(CLIENTVERSION)
.tar
zip
-R9y
lyskom-
$(CLIENTVERSION)
.zip
'lyskom-
$(CLIENTVERSION)
/*'
release-cleanup
:
$(RM)
-rf
lyskom-
$(CLIENTVERSION)
\
lyskom-
$(CLIENTVERSION)
.tar.gz
\
lyskom-
$(CLIENTVERSION)
.zip
\
lyskom-elisp-client-
$(DEBIANCLIENTVERSION)
release-move
:
if
[
!
-z
"
$(REMOTEDIR)
"
]
;
then
\
scp lyskom-
$(CLIENTVERSION)
.tar.gz
$(REMOTEDIR)
;
\
...
...
@@ -211,7 +206,7 @@ release-move:
echo
"Flyttade inte release-filerna till
$(FTPDIR)
."
;
\
fi
debian-package
:
release-files debian-build
release-cleanup
debian-package
:
release-files debian-build
debian-build
:
release-files
cp
-R
debian lyskom-
$(CLIENTVERSION)
...
...
@@ -222,7 +217,7 @@ debian-build: release-files
cp
lyskom-
$(CLIENTVERSION)
.tar.gz lyskom-elisp-client_
$(DEBIANCLIENTVERSION)
.orig.tar.gz
cd
lyskom-elisp-client-
$(DEBIANCLIENTVERSION)
&&
dpkg-buildpackage
redhat-packages
:
release-files redhat-build
release-cleanup
redhat-packages
:
release-files redhat-build
redhat-build
:
release-files
cp
lyskom-
$(CLIENTVERSION)
.tar.gz
$(RPMROOT)
/SOURCES/
...
...
@@ -237,4 +232,5 @@ clean:
lyskom-
$(CLIENTVERSION)
.zip
\
lyskom-elisp-client-
$(DEBIANCLIENTVERSION)
$(RM)
*
~
*
.elc
$
(
GENERIC-CLEAN
)
$(RM)
-r
build-stamp lyskom-elisp-client
*
$(RM)
-r
build-stamp lyskom-elisp-client
*
.gz lyskom-elisp-client
*
.deb
\
lyskom-elisp-client
*
.dsc lyskom-elisp-client
*
.changes
Write
Preview
Supports
Markdown
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