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-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
|