diff options
author | Rob Austein <sra@hactrn.net> | 2011-01-26 01:14:02 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-01-26 01:14:02 +0000 |
commit | 38b1f5d8d4ee4c70923e3b2a1bfb4fba92be52dd (patch) | |
tree | b6c025bc66cf87db5fd89fbf18522b19682de31e /rcynic/static-rsync/Makefile.in | |
parent | cf81a7dc0cb4f8dacb86a2836d11211957379ed1 (diff) |
Jailed rcynic installation working (I think) on Fedora. Remains to be
seen whether it works on any other Linux distro. What a mess.
svn path=/configure; revision=3665
Diffstat (limited to 'rcynic/static-rsync/Makefile.in')
-rw-r--r-- | rcynic/static-rsync/Makefile.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/rcynic/static-rsync/Makefile.in b/rcynic/static-rsync/Makefile.in new file mode 100644 index 00000000..f8495df5 --- /dev/null +++ b/rcynic/static-rsync/Makefile.in @@ -0,0 +1,38 @@ +# $Id$ + +VERSION = 2.6.9 + +CFG_ENV = CFLAGS='@CFLAGS@' LDFLAGS='@LDFLAGS@ @LD_STATIC_FLAG@' +CFG_ARG = + +TARBALL = rsync-${VERSION}.tar.gz +DIRNAME = rsync-${VERSION} + +CFG_LOG = > ../config.log 2>&1 +BIN_LOG = > ../build.log 2>&1 + +BIN = rsync + +all: ${BIN} + +${BIN}: ${DIRNAME}/${BIN} + ln ${DIRNAME}/${BIN} $@ + file $@ + +${DIRNAME}/${BIN}: configured.stamp + cd ${DIRNAME} && ${MAKE} ${BIN_LOG} + +extracted.stamp: ${TARBALL} + gzip -c -d ${TARBALL} | tar -xf - + touch $@ + +patched.stamp: extracted.stamp + for i in patches/patch-*; do if test -f "$$i"; then patch -d ${DIRNAME} <"$$i"; else :; fi; done + touch $@ + +configured.stamp: patched.stamp + cd ${DIRNAME} && ${CFG_ENV} ./configure ${CFG_ARG} ${CFG_LOG} + touch $@ + +clean: + rm -rf ${BIN} ${DIRNAME} *.stamp *.log |