2006-01-13 11:44:02 +00:00
|
|
|
#
|
|
|
|
# ccollect
|
|
|
|
# Nico Schottelius, Fri Jan 13 12:13:08 CET 2006
|
|
|
|
#
|
|
|
|
|
|
|
|
INSTALL=install
|
|
|
|
CCOLLECT=ccollect.sh
|
|
|
|
LN=ln -sf
|
|
|
|
|
|
|
|
prefix=/usr/packages/ccollect-0.2
|
|
|
|
bindir=$(prefix)/bin
|
|
|
|
destination=$(bindir)/$(CCOLLECT)
|
|
|
|
|
|
|
|
path_dir=/usr/local/bin
|
|
|
|
path_destination=$(path_dir)/$(CCOLLECT)
|
|
|
|
|
2006-01-17 11:11:05 +00:00
|
|
|
# where to publish
|
|
|
|
host=creme.schottelius.org
|
|
|
|
dir=www/org/schottelius/linux/ccollect
|
|
|
|
docdir=$(dir)/doc
|
|
|
|
|
2006-01-22 11:53:45 +00:00
|
|
|
#
|
|
|
|
# End user targets
|
|
|
|
#
|
2006-01-13 11:44:02 +00:00
|
|
|
all:
|
|
|
|
@echo "Nothing to make, make install."
|
|
|
|
|
2006-01-22 11:53:45 +00:00
|
|
|
install: install-script install-link
|
|
|
|
|
|
|
|
install-link: install-script
|
2006-01-17 11:13:30 +00:00
|
|
|
$(LN) $(destination) $(path_destination)
|
|
|
|
|
2006-01-22 11:53:45 +00:00
|
|
|
install-script:
|
|
|
|
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
|
|
|
|
|
2006-01-13 22:29:29 +00:00
|
|
|
documentation:
|
2006-01-17 11:11:05 +00:00
|
|
|
@echo "Generating HTML-documentation"
|
2006-01-13 11:44:02 +00:00
|
|
|
@asciidoc -n -o doc/ccollect.html doc/ccollect.text
|
|
|
|
|
2006-01-17 11:13:30 +00:00
|
|
|
#
|
|
|
|
# Developer targets
|
|
|
|
#
|
|
|
|
update:
|
|
|
|
@cg-update creme
|
|
|
|
|
|
|
|
push-work:
|
|
|
|
@cg-push creme
|
|
|
|
@cg-push main
|
|
|
|
|
2006-01-17 11:11:05 +00:00
|
|
|
publish-doc: documentation
|
|
|
|
@chmod a+r doc/ccollect.html
|
|
|
|
@scp doc/ccollect.html doc/ccollect.text $(host):$(docdir)
|
|
|
|
|