mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-23 04:47:59 +01:00
branch store fix
This commit is contained in:
parent
b1b3b6253c
commit
28caf6268c
1 changed files with 9 additions and 10 deletions
19
Makefile
19
Makefile
|
@ -1,14 +1,13 @@
|
||||||
SHELL=bash
|
SHELL=bash
|
||||||
|
|
||||||
BRANCH="$(git branch | grep \\\* | sed -e s/\*\ //g)"
|
|
||||||
|
|
||||||
|
|
||||||
manual-update:
|
manual-update:
|
||||||
git checkout master
|
(branch=$$(git branch | grep \\\* | sed -e s/\*\ //g) \
|
||||||
makeinfo --html "./manuals/ponysay.texinfo"
|
git checkout master \
|
||||||
git add "./ponysay"
|
makeinfo --html "./manuals/ponysay.texinfo" \
|
||||||
git stash
|
git add "./ponysay" \
|
||||||
git checkout $(BRANCH)
|
git stash \
|
||||||
git rm "./pages/ponysay/*"
|
git checkout $(BRANCH) \
|
||||||
git stash pop
|
git rm "./pages/ponysay/*" \
|
||||||
|
git stash pop \
|
||||||
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue