split CCOLLECT to CCOLLECT_SOURCE and CCOLLECT_DEST

This commit is contained in:
Nico Schottelius 2007-06-22 11:21:17 +02:00
parent 8b99b05dfd
commit a89cb0ce38

View file

@ -4,7 +4,8 @@
# #
INSTALL=install INSTALL=install
CCOLLECT=ccollect.sh CCOLLECT_SOURCE=ccollect.sh
CCOLLECT_DEST=ccollect.sh
LN=ln -sf LN=ln -sf
ASCIIDOC=asciidoc ASCIIDOC=asciidoc
DOCBOOKTOTEXI=docbook2x-texi DOCBOOKTOTEXI=docbook2x-texi
@ -14,10 +15,10 @@ XSL=/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl
prefix=/usr/packages/ccollect-git prefix=/usr/packages/ccollect-git
bindir=$(prefix)/bin bindir=$(prefix)/bin
destination=$(bindir)/$(CCOLLECT) destination=$(bindir)/$(CCOLLECT_DEST)
path_dir=/usr/local/bin path_dir=/usr/local/bin
path_destination=$(path_dir)/$(CCOLLECT) path_destination=$(path_dir)/$(CCOLLECT_DEST)
# where to publish # where to publish
host=home.schottelius.org host=home.schottelius.org
@ -67,7 +68,7 @@ install-link: install-script
$(LN) $(destination) $(path_destination) $(LN) $(destination) $(path_destination)
install-script: install-script:
$(INSTALL) -D -m 0755 $(CCOLLECT) $(destination) $(INSTALL) -D -m 0755 $(CCOLLECT_SOURCE) $(destination)
# docbook gets .htm, asciidoc directly .html # docbook gets .htm, asciidoc directly .html