ponysay/Makefile
2012-10-28 00:15:51 +02:00

14 lines
367 B
Makefile

SHELL=bash
manual-update:
(branch=$$(git branch | grep \\\* | sed -e s/\*\ //g) ;\
git checkout master ;\
makeinfo --html "./manuals/ponysay.texinfo" ;\
git add "./ponysay" ;\
git stash ;\
git checkout $$branch ;\
git rm "./pages/ponysay/*" ;\
git stash pop ;\
git mv "./ponysay" "./pages" ;\
)