2010-10-28 19:13:57 +00:00
|
|
|
PREFIX=/usr
|
|
|
|
BINDIR=$(PREFIX}/bin
|
2011-02-04 22:15:10 +00:00
|
|
|
WEBDIR=$$HOME/niconetz
|
|
|
|
WEBPAGE=software/cdist.mdwn
|
2010-10-28 19:13:57 +00:00
|
|
|
|
2011-02-19 00:47:10 +00:00
|
|
|
MANSRC=doc/man/cdist-config-layout.text doc/man/cdist-config.text \
|
|
|
|
doc/man/cdist-deploy-to.text doc/man/cdist-design.text \
|
|
|
|
doc/man/cdist-environment.text doc/man/cdist-explorers.text \
|
|
|
|
doc/man/cdist-language.text doc/man/cdist-manifests.text \
|
|
|
|
doc/man/cdist-quickstart.text doc/man/cdist-stages.text \
|
|
|
|
doc/man/cdist-terms.text doc/man/cdist.text \
|
|
|
|
doc/man/cdist-types.text
|
|
|
|
|
|
|
|
|
2011-02-04 22:33:12 +00:00
|
|
|
# FIXME: some distro nerd, can you make this more beautiful?
|
|
|
|
# I'm just a hacker, I don't really care...
|
2010-10-28 19:13:57 +00:00
|
|
|
install:
|
|
|
|
cp bin/* $(BINDIR)
|
|
|
|
|
2010-09-25 10:36:30 +00:00
|
|
|
sync:
|
2011-02-03 12:32:29 +00:00
|
|
|
# ubuntu
|
2010-09-25 10:36:30 +00:00
|
|
|
.rsync lyni@tablett:cdist
|
2011-02-03 12:32:29 +00:00
|
|
|
# redhat
|
2010-09-25 10:36:30 +00:00
|
|
|
.rsync nicosc@free.ethz.ch:cdist
|
2011-02-03 12:32:29 +00:00
|
|
|
# gentoo
|
|
|
|
.rsync nicosc@ru3.inf.ethz.ch:cdist
|
2011-02-02 13:01:50 +00:00
|
|
|
|
|
|
|
web:
|
2011-02-04 22:15:10 +00:00
|
|
|
cp REAL_README $(WEBDIR)/$(WEBPAGE)
|
|
|
|
cd $(WEBDIR) && git commit -m "cdist update" $(WEBPAGE)
|
|
|
|
cd $(WEBDIR) && make pub
|
2011-02-02 20:49:49 +00:00
|
|
|
|
|
|
|
pub:
|
|
|
|
git push --mirror
|
2011-02-19 00:47:10 +00:00
|
|
|
|
|
|
|
man:
|
|
|
|
echo $(MANSRC)
|
2011-02-19 00:52:46 +00:00
|
|
|
a2x -f manpage --no-xmllint doc/man/cdist-stages.text
|
2011-02-19 01:02:21 +00:00
|
|
|
echo man ./doc/man/cdist-stages.7
|