Commit ee45a027 authored by Christer Ekholm's avatar Christer Ekholm

Makefile: Use cp -f to copy files to build-directory for target release.

To avoid failure when copying the write-protected files.
parent 862274e5
2014-10-30 Christer Ekholm <che@chrekh.se>
* Makefile: Use cp -f to copy files to build-directory for target
release, to avoid failure for the write protected files.
2014-10-26 Christer Ekholm <che@chrekh.se>
* Makefile: Changed target release. If HEAD is not a tagged
......
......@@ -256,7 +256,7 @@ $(RELEASE-BASE-SRC).buildstamp: \
$(RELEASE-SOURCE-SRC) $(EXTRA-SRCDIST) $(EXTRA-SRCVERBATIM) \
distribution-README-src
mkdir -p $(RELEASE-BASE-SRC)
cp $(RELEASE-SOURCE-SRC) $(RELEASE-BASE-SRC)
cp -f $(RELEASE-SOURCE-SRC) $(RELEASE-BASE-SRC)
sed 's/@@CLIENTVERSION@@/$(CLIENTVERSION)/g' \
<distribution-README-src \
>$(RELEASE-BASE-SRC)/README
......@@ -289,7 +289,7 @@ $(PACKAGENAME)-%-$(CLIENTVERSION).buildstamp: \
lyskom-%-$(CLIENTVERSION).el $(EXTRA-NONSRCDIST) \
distribution-README-nonsrc
mkdir -p $(RELEASE-BASE-NONSRC)
cp $< $(RELEASE-BASE-NONSRC)
cp -f $< $(RELEASE-BASE-NONSRC)
sed -e 's/@@CLIENTVERSION@@/$(CLIENTVERSION)/g' \
-e 's/@@FLAVOUR@@/$*/g' \
<distribution-README-nonsrc \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment