begin to redefine installation process

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-26 11:51:59 +01:00
parent f8c5c03e77
commit 73ebe77022
2 changed files with 30 additions and 18 deletions

View file

@ -24,7 +24,20 @@ MANSRC=doc/man/cdist-config-layout.text \
install:
cp bin/* $(BINDIR)
sync:
man: doc/man/.marker
doc/man/.marker: $(MANSRC)
for man in $(MANSRC); do $(A2X) $$man; done
touch $@
clean:
rm -f doc/man/*.html doc/man/*.[1-9]
################################################################################
# Developer targets
#
test:
# ubuntu
.rsync lyni@tablett:cdist
# redhat
@ -40,11 +53,4 @@ web:
pub:
git push --mirror
man: doc/man/.marker
doc/man/.marker: $(MANSRC)
for man in $(MANSRC); do $(A2X) $$man; done
touch $@
clean:
rm -f doc/man/*.html doc/man/*.[1-9]

View file

@ -67,21 +67,23 @@ but is not. Or: The reason why I began to write cdist.
## Installation
### Get cdist
Cdist stable always in master
* Create a new unpriviliged user (probably "cdist")
* Become that user, execute the following code:
git clone git://git.schottelius.org/cdist
cd cdist
export PATH=$PATH:$(pwd -P)/bin
That's it.
Operation on the server is run as "cdist" user.
Operation on the client is run as "root" user.
## Update
git clone git://git.schottelius.org/cdist
## How to install cdist
make install
## How to use cdist
man cdist
git pull && make install
## Support
@ -94,3 +96,7 @@ You can join the development ***IRC channel***
Bug reports, questions, patches, etc. should be send to the
[cdist mailing list](http://l.schottelius.org/mailman/listinfo/cdist).
## Commercial Support
To be done.