From 73ebe77022df006673b762c27a628c2ee44aa3df Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 26 Feb 2011 11:51:59 +0100 Subject: [PATCH] begin to redefine installation process Signed-off-by: Nico Schottelius --- Makefile | 22 ++++++++++++++-------- REAL_README | 26 ++++++++++++++++---------- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 888f6561..b0157148 100644 --- a/Makefile +++ b/Makefile @@ -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] diff --git a/REAL_README b/REAL_README index 8ca21a9c..5b950519 100644 --- a/REAL_README +++ b/REAL_README @@ -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.