Added Makefile
This commit is contained in:
parent
00f5e2036e
commit
36497a3f6a
1 changed files with 25 additions and 0 deletions
25
Makefile
Normal file
25
Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# 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)
|
||||
|
||||
all:
|
||||
@echo "Nothing to make, make install."
|
||||
|
||||
doc:
|
||||
@asciidoc -n -o doc/ccollect.html doc/ccollect.text
|
||||
|
||||
install:
|
||||
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
|
||||
$(LN) $(destination) $(path_destination)
|
Loading…
Reference in a new issue