r9315 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9314‎ | r9315 | r9316 >
Date:13:35, 3 June 2005
Author:kateturner
Status:old
Tags:
Comment:
'make dist' target
Modified paths:
  • /trunk/tools/trickle/Makefile (modified) (history)

Diff [purge]

Index: trunk/tools/trickle/Makefile
@@ -1,9 +1,9 @@
22 # @(#) $Header$
33
44 trickle: trickle.o tar.o proto.o util.o rdcp.o ldflags
5 - cc -g trickle.o tar.o proto.o util.o rdcp.o -o $@ `cat ldflags`
 5+ cc -O -g trickle.o tar.o proto.o util.o rdcp.o -o $@ `cat ldflags`
66 %.o: %.c Makefile $< t_stdint.h
7 - cc -g -D_FILE_OFFSET_BITS=64 -c $<
 7+ cc -O -g -D_FILE_OFFSET_BITS=64 -c $<
88 clean:
99 rm -f trickle trickle.o tar.o util.o rdcp.o proto.o ldflags t_stdint.h
1010 t_stdint.h:
@@ -18,5 +18,12 @@
1919 echo "main(){}" > test.c
2020 -cc test.c -lsocket -lnsl -o /dev/null && echo -lsocket -lnsl >>ldflags
2121 rm -f test.c
 22+dist:
 23+ mkdir trickle-cvs1
 24+ cp trickle.[ch] tar.c proto.c util.c rdcp.[ch] Makefile trickle-cvs1/
 25+ tar cvf trickle-cvs1.tar trickle-cvs1
 26+ rm -rf trickle-cvs1
 27+ compress -f trickle-cvs1.tar
 28+ ls -l trickle-cvs1.tar.Z
2229
2330 .KEEP_STATE:

Status & tagging log