3 VERS
=$(shell mk
/vers.sh
)
44 ifneq ($(shell mk
/verc.sh
),$(shell cat vers.c
2>/dev
/null
))
48 dist: $(TARG
)-$(VERS
).
tar.gz
52 git archive
-o
$@
--prefix=$(TARG
)-$(VERS
)/ v
$(VERS
)
53 mkdir
-p
$(TARG
)-$(VERS
)/mk
54 echo
'printf "$(VERS)"' >$(TARG
)-$(VERS
)/mk
/vers.sh
55 chmod
+x
$(TARG
)-$(VERS
)/mk
/vers.sh
56 $(TAR
) --append
-f
$@
$(TARG
)-$(VERS
)/mk
/vers.sh
57 sed
's/@VERSION@/$(VERS)/' <pkg
/beanstalkd.spec.in
>$(TARG
)-$(VERS
)/beanstalkd.spec
58 $(TAR
) --append
-f
$@
$(TARG
)-$(VERS
)/beanstalkd.spec
59 cp NEWS.md
$(TARG
)-$(VERS
)/NEWS.md
60 $(TAR
) --append
-f
$@
$(TARG
)-$(VERS
)/NEWS.md
63 $(TARG
)-$(VERS
).
tar.gz
: $(TARG
)-$(VERS
).
tar
66 doc
/beanstalkd
.1 doc
/beanstalkd
.1.html
: doc
/beanstalkd.ronn