forked from ungleich-public/cdist
9d6f8012f2
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
23 lines
400 B
Makefile
23 lines
400 B
Makefile
PREFIX=/usr
|
|
BINDIR=$(PREFIX}/bin
|
|
WEBDIR=$$HOME/niconetz
|
|
WEBPAGE=software/cdist.mdwn
|
|
|
|
install:
|
|
cp bin/* $(BINDIR)
|
|
|
|
sync:
|
|
# ubuntu
|
|
.rsync lyni@tablett:cdist
|
|
# redhat
|
|
.rsync nicosc@free.ethz.ch:cdist
|
|
# gentoo
|
|
.rsync nicosc@ru3.inf.ethz.ch:cdist
|
|
|
|
web:
|
|
cp REAL_README $(WEBDIR)/$(WEBPAGE)
|
|
cd $(WEBDIR) && git commit -m "cdist update" $(WEBPAGE)
|
|
cd $(WEBDIR) && make pub
|
|
|
|
pub:
|
|
git push --mirror
|