Changed Makefile for bettor automatic installation, added more things todo
This commit is contained in:
parent
97d9f2ff1a
commit
a64d7b12b5
3 changed files with 27 additions and 12 deletions
11
Makefile
11
Makefile
|
@ -19,13 +19,20 @@ host=creme.schottelius.org
|
||||||
dir=www/org/schottelius/linux/ccollect
|
dir=www/org/schottelius/linux/ccollect
|
||||||
docdir=$(dir)/doc
|
docdir=$(dir)/doc
|
||||||
|
|
||||||
|
#
|
||||||
|
# End user targets
|
||||||
|
#
|
||||||
all:
|
all:
|
||||||
@echo "Nothing to make, make install."
|
@echo "Nothing to make, make install."
|
||||||
|
|
||||||
install:
|
install: install-script install-link
|
||||||
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
|
|
||||||
|
install-link: install-script
|
||||||
$(LN) $(destination) $(path_destination)
|
$(LN) $(destination) $(path_destination)
|
||||||
|
|
||||||
|
install-script:
|
||||||
|
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
|
||||||
|
|
||||||
documentation:
|
documentation:
|
||||||
@echo "Generating HTML-documentation"
|
@echo "Generating HTML-documentation"
|
||||||
@asciidoc -n -o doc/ccollect.html doc/ccollect.text
|
@asciidoc -n -o doc/ccollect.html doc/ccollect.text
|
||||||
|
|
12
doc/TODO
12
doc/TODO
|
@ -1,6 +1,11 @@
|
||||||
|
- write mkccollectconfig
|
||||||
|
o create source configuration
|
||||||
|
o another script for changing defaults
|
||||||
|
x intervalls
|
||||||
|
x pre-/post exec
|
||||||
|
o dialog based?
|
||||||
|
|
||||||
- implement pre- and post-exec commands
|
- implement pre- and post-exec commands
|
||||||
o For the general backup process
|
|
||||||
o source specific
|
|
||||||
o what to do with return values?
|
o what to do with return values?
|
||||||
|
|
||||||
- Documentation
|
- Documentation
|
||||||
|
@ -21,3 +26,6 @@ DONE
|
||||||
- write a simple manual
|
- write a simple manual
|
||||||
- Hints section
|
- Hints section
|
||||||
- add note to --exclude=/proc/ vs. --exclude=/proc/*
|
- add note to --exclude=/proc/ vs. --exclude=/proc/*
|
||||||
|
- implement pre- and post-exec commands
|
||||||
|
o For the general backup process
|
||||||
|
o source specific
|
||||||
|
|
|
@ -122,15 +122,15 @@ The name you choose for the subdirectory describes the source.
|
||||||
|
|
||||||
Each source has at least the following files:
|
Each source has at least the following files:
|
||||||
|
|
||||||
- `source` (a text file containing the rsync compatible path to backup)
|
- `source` (a text file containing the `rsync` compatible path to backup)
|
||||||
- `destination` (a link to the directory we should backup to)
|
- `destination` (a link to the directory we should backup to)
|
||||||
|
|
||||||
Additionally a source may have the following files:
|
Additionally a source may have the following files:
|
||||||
|
|
||||||
- `verbose` whether to be verbose (passes -v to rsync)
|
- `verbose` whether to be verbose (passes -v to `rsync`)
|
||||||
- `very_verbose` be very verbose (-v also for mkdir, cp, rm)
|
- `very_verbose` be very verbose (-v also for `mkdir`, `cp`, `rm`)
|
||||||
- `exclude` exclude list for rsync. '\\n' seperated list.
|
- `exclude` exclude list for `rsync`. '\\n' seperated list.
|
||||||
- `rsync_options' extra options to pass to rsync
|
- `rsync_options' extra options to pass to `rsync`
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
@ -155,11 +155,11 @@ Example:
|
||||||
|
|
||||||
Detailled description of "source"
|
Detailled description of "source"
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`source` describes a rsync compatible source (one line only).
|
`source` describes a `rsync` compatible source (one line only).
|
||||||
|
|
||||||
For instance 'backup_user@foreign_host:/home/server/video'.
|
For instance 'backup_user@foreign_host:/home/server/video'.
|
||||||
To use the rsync protocol without the ssh-tunnel, use
|
To use the `rsync` protocol without the `ssh`-tunnel, use
|
||||||
'rsync::USER@HOST/SRC'. For more information have a look at rsync(1).
|
'rsync::USER@HOST/SRC'. For more information have a look at `rsync`(1).
|
||||||
|
|
||||||
Detailled description of "verbose"
|
Detailled description of "verbose"
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in a new issue