Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is an attempt to remove generated files from the rsync repository
[rsync/rsync.git]
/
prepare-source.mak
diff --git
a/prepare-source.mak
b/prepare-source.mak
index
b54beee
..
9acd3e4
100644
(file)
--- a/
prepare-source.mak
+++ b/
prepare-source.mak
@@
-1,15
+1,16
@@
-gen:
configure config.h.in proto.h
man
+gen:
gen_no_man
man
-configure: configure.in aclocal.m4
- autoconf
+gen_no_man: configure.sh config.h.in proto.h
+
+configure.sh: configure.in aclocal.m4
+ autoconf -o configure.sh
config.h.in: configure.in aclocal.m4
config.h.in: configure.in aclocal.m4
- autoheader
- touch config.h.in
+ autoheader && touch config.h.in
proto.h: *.c lib/compat.c
cat *.c lib/compat.c | awk -f mkproto.awk >proto.h.new
proto.h: *.c lib/compat.c
cat *.c lib/compat.c | awk -f mkproto.awk >proto.h.new
- if diff proto.h proto.h.new >/dev/null; then \
+ if diff proto.h proto.h.new >/dev/null
2>&1
; then \
rm proto.h.new; \
else \
mv proto.h.new proto.h; \
rm proto.h.new; \
else \
mv proto.h.new proto.h; \
@@
-19,6
+20,8
@@
man: rsync.1 rsyncd.conf.5
rsync.1: rsync.yo
yodl2man -o rsync.1 rsync.yo
rsync.1: rsync.yo
yodl2man -o rsync.1 rsync.yo
+ -./tweak_manpage rsync.1
rsyncd.conf.5: rsyncd.conf.yo
yodl2man -o rsyncd.conf.5 rsyncd.conf.yo
rsyncd.conf.5: rsyncd.conf.yo
yodl2man -o rsyncd.conf.5 rsyncd.conf.yo
+ -./tweak_manpage rsyncd.conf.5