강좌 & 팁
글 수 2,412
2011.12.17 15:53:07 (*.138.143.120)
42025
patchutils.
sourcURL : http://cyberelk.net/tim/software/patchutils/
기능 : 큰 패치파일을 작은 패치파일로 나누거나 하는 등등의 유틸리티이다.
diff로 큰 패치파일을 얻었지만 항목별로 분리를 할 필요가 생겼다.
이런 경우에 유용하게 쓸수 있다.
man page : http://cyberelk.net/tim/patchutils/man/index.html
다운로드
http://cyberelk.net/tim/data/patchutils/stable/
http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.2.tar.bz2
git clone git://git.fedorahosted.org/git/patchutils.git
compile
root@boggle70-desktop:utils# wget http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.2.tar.bz2
--2011-12-15 15:34:17-- http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.2.tar.bz2
Resolving cyberelk.net... 212.13.194.216
접속 cyberelk.net|212.13.194.216|:80... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 160193 (156K) [application/x-bzip2]
Saving to: `patchutils-0.3.2.tar.bz2'
100%[=========================================================================================================>] 160,193 86.4K/s in 1.8s
2011-12-15 15:34:20 (86.4 KB/s) - `patchutils-0.3.2.tar.bz2' saved [160193/160193]
root@boggle70-desktop:utils# bunzip2 patchutils-0.3.2.tar.bz2
root@boggle70-desktop:utils# ll
합계 1040
drwxr-xr-x 2 root root 4096 2011-12-15 14:52 ./
drwxrwxrwx 28 root root 4096 2011-12-15 14:52 ../
-rw-r--r-- 1 root root 1054720 2011-12-15 14:52 patchutils-0.3.2.tar
root@boggle70-desktop:utils# tar xvf patchutils-0.3.2.tar
patchutils-0.3.2/
patchutils-0.3.2/dehtmldiff.in
patchutils-0.3.2/patchutils.spec.in
patchutils-0.3.2/missing
patchutils-0.3.2/ChangeLog
patchutils-0.3.2/move-to-front
patchutils-0.3.2/BUGS
patchutils-0.3.2/Makefile.am
patchutils-0.3.2/INSTALL
patchutils-0.3.2/bootstrap
patchutils-0.3.2/configure.in
patchutils-0.3.2/configure
patchutils-0.3.2/src/
patchutils-0.3.2/src/getopt.h
patchutils-0.3.2/src/util.c
patchutils-0.3.2/src/getopt.c
patchutils-0.3.2/src/interdiff.c
patchutils-0.3.2/src/diff.c
patchutils-0.3.2/src/myerror.c
patchutils-0.3.2/src/filterdiff.c
patchutils-0.3.2/src/rediff.c
patchutils-0.3.2/src/util.h
patchutils-0.3.2/src/getopt1.c
patchutils-0.3.2/src/diff.h
patchutils-0.3.2/recountdiff.in
patchutils-0.3.2/compile
patchutils-0.3.2/aclocal.m4
patchutils-0.3.2/espdiff.in
patchutils-0.3.2/AUTHORS
patchutils-0.3.2/patchutils.spec
patchutils-0.3.2/doc/
patchutils-0.3.2/doc/combinediff.1
patchutils-0.3.2/doc/interdiff.1
patchutils-0.3.2/doc/recountdiff.1
patchutils-0.3.2/doc/rediff.1
patchutils-0.3.2/doc/filterdiff.1
patchutils-0.3.2/doc/patchutils.xml
patchutils-0.3.2/doc/unwrapdiff.1
patchutils-0.3.2/doc/editdiff.1
patchutils-0.3.2/doc/grepdiff.1
patchutils-0.3.2/doc/dehtmldiff.1
patchutils-0.3.2/doc/fixcvsdiff.1
patchutils-0.3.2/doc/flipdiff.1
patchutils-0.3.2/doc/espdiff.1
patchutils-0.3.2/doc/splitdiff.1
patchutils-0.3.2/doc/lsdiff.1
patchutils-0.3.2/TODO
patchutils-0.3.2/NEWS
patchutils-0.3.2/install-sh
patchutils-0.3.2/splitdiff.in
patchutils-0.3.2/config.h.in
patchutils-0.3.2/README
patchutils-0.3.2/unwrapdiff.in
patchutils-0.3.2/tests/
patchutils-0.3.2/tests/convert1/
patchutils-0.3.2/tests/convert1/run-test
patchutils-0.3.2/tests/copy1/
patchutils-0.3.2/tests/copy1/run-test
patchutils-0.3.2/tests/delhunk2/
patchutils-0.3.2/tests/delhunk2/run-test
patchutils-0.3.2/tests/edit1/
patchutils-0.3.2/tests/edit1/run-test
patchutils-0.3.2/tests/convert2/
patchutils-0.3.2/tests/convert2/run-test
patchutils-0.3.2/tests/combine1/
patchutils-0.3.2/tests/combine1/run-test
patchutils-0.3.2/tests/filterp/
patchutils-0.3.2/tests/filterp/run-test
patchutils-0.3.2/tests/select6/
patchutils-0.3.2/tests/select6/run-test
patchutils-0.3.2/tests/gendiff1/
patchutils-0.3.2/tests/gendiff1/run-test
patchutils-0.3.2/tests/lsdiff8/
patchutils-0.3.2/tests/lsdiff8/run-test
patchutils-0.3.2/tests/delhunk5/
patchutils-0.3.2/tests/delhunk5/run-test
patchutils-0.3.2/tests/flip18/
patchutils-0.3.2/tests/flip18/run-test
patchutils-0.3.2/tests/lsdiff3/
patchutils-0.3.2/tests/lsdiff3/run-test
patchutils-0.3.2/tests/linux-2.2.17-pre4-5/
patchutils-0.3.2/tests/linux-2.2.17-pre4-5/run-test
patchutils-0.3.2/tests/lsdiff9/
patchutils-0.3.2/tests/lsdiff9/run-test
patchutils-0.3.2/tests/recount2/
patchutils-0.3.2/tests/recount2/run-test
patchutils-0.3.2/tests/lsdiff15/
patchutils-0.3.2/tests/lsdiff15/run-test
patchutils-0.3.2/tests/lscontext1/
patchutils-0.3.2/tests/lscontext1/run-test
patchutils-0.3.2/tests/lsdiff5/
patchutils-0.3.2/tests/lsdiff5/run-test
patchutils-0.3.2/tests/rediff1/
patchutils-0.3.2/tests/rediff1/run-test
patchutils-0.3.2/tests/create1/
patchutils-0.3.2/tests/create1/run-test
patchutils-0.3.2/tests/select9/
patchutils-0.3.2/tests/select9/run-test
patchutils-0.3.2/tests/edit7/
patchutils-0.3.2/tests/edit7/run-test
patchutils-0.3.2/tests/select3/
patchutils-0.3.2/tests/select3/run-test
patchutils-0.3.2/tests/flip7/
patchutils-0.3.2/tests/flip7/run-test
patchutils-0.3.2/tests/recount5/
patchutils-0.3.2/tests/recount5/run-test
patchutils-0.3.2/tests/edit5/
patchutils-0.3.2/tests/edit5/run-test
patchutils-0.3.2/tests/lsdiff13/
patchutils-0.3.2/tests/lsdiff13/run-test
patchutils-0.3.2/tests/grepdiff7/
patchutils-0.3.2/tests/grepdiff7/run-test
patchutils-0.3.2/tests/lscontext2/
patchutils-0.3.2/tests/lscontext2/run-test
patchutils-0.3.2/tests/newline3/
patchutils-0.3.2/tests/newline3/run-test
patchutils-0.3.2/tests/broken1/
patchutils-0.3.2/tests/broken1/run-test
patchutils-0.3.2/tests/edit3/
patchutils-0.3.2/tests/edit3/run-test
patchutils-0.3.2/tests/dashes1/
patchutils-0.3.2/tests/dashes1/run-test
patchutils-0.3.2/tests/gendiff2/
patchutils-0.3.2/tests/gendiff2/run-test
patchutils-0.3.2/tests/edit8/
patchutils-0.3.2/tests/edit8/run-test
patchutils-0.3.2/tests/nul0/
patchutils-0.3.2/tests/nul0/run-test
patchutils-0.3.2/tests/flip4/
patchutils-0.3.2/tests/flip4/run-test
patchutils-0.3.2/tests/grepdiff2/
patchutils-0.3.2/tests/grepdiff2/run-test
patchutils-0.3.2/tests/flip19/
patchutils-0.3.2/tests/flip19/run-test
patchutils-0.3.2/tests/context1/
patchutils-0.3.2/tests/context1/run-test
patchutils-0.3.2/tests/newline4/
patchutils-0.3.2/tests/newline4/run-test
patchutils-0.3.2/tests/select7/
patchutils-0.3.2/tests/select7/run-test
patchutils-0.3.2/tests/linux-2.4.13-ac6-7/
patchutils-0.3.2/tests/linux-2.4.13-ac6-7/run-test
patchutils-0.3.2/tests/delhunk1/
patchutils-0.3.2/tests/delhunk1/run-test
patchutils-0.3.2/tests/flip6/
patchutils-0.3.2/tests/flip6/run-test
patchutils-0.3.2/tests/preserve1/
patchutils-0.3.2/tests/preserve1/run-test
patchutils-0.3.2/tests/flip10/
patchutils-0.3.2/tests/flip10/run-test
patchutils-0.3.2/tests/nondiff/
patchutils-0.3.2/tests/nondiff/run-test
patchutils-0.3.2/tests/U0/
patchutils-0.3.2/tests/U0/run-test
patchutils-0.3.2/tests/flip17/
patchutils-0.3.2/tests/flip17/run-test
patchutils-0.3.2/tests/nondiff1/
patchutils-0.3.2/tests/nondiff1/run-test
patchutils-0.3.2/tests/select8/
patchutils-0.3.2/tests/select8/run-test
patchutils-0.3.2/tests/newline2/
patchutils-0.3.2/tests/newline2/run-test
patchutils-0.3.2/tests/lsdiff2/
patchutils-0.3.2/tests/lsdiff2/run-test
patchutils-0.3.2/tests/number1/
patchutils-0.3.2/tests/number1/run-test
patchutils-0.3.2/tests/select1/
patchutils-0.3.2/tests/select1/run-test
patchutils-0.3.2/tests/grepdiff5/
patchutils-0.3.2/tests/grepdiff5/run-test
patchutils-0.3.2/tests/unwrapdiff1/
patchutils-0.3.2/tests/unwrapdiff1/run-test
patchutils-0.3.2/tests/revert2/
patchutils-0.3.2/tests/revert2/run-test
patchutils-0.3.2/tests/trimcontext1/
patchutils-0.3.2/tests/trimcontext1/run-test
patchutils-0.3.2/tests/lsdiff1/
patchutils-0.3.2/tests/lsdiff1/run-test
patchutils-0.3.2/tests/lsdiff11/
patchutils-0.3.2/tests/lsdiff11/run-test
patchutils-0.3.2/tests/dashes2/
patchutils-0.3.2/tests/dashes2/run-test
patchutils-0.3.2/tests/flip15/
patchutils-0.3.2/tests/flip15/run-test
patchutils-0.3.2/tests/combine2/
patchutils-0.3.2/tests/combine2/run-test
patchutils-0.3.2/tests/comma/
patchutils-0.3.2/tests/comma/run-test
patchutils-0.3.2/tests/edit10/
patchutils-0.3.2/tests/edit10/run-test
patchutils-0.3.2/tests/select2/
patchutils-0.3.2/tests/select2/run-test
patchutils-0.3.2/tests/lsdiff10/
patchutils-0.3.2/tests/lsdiff10/run-test
patchutils-0.3.2/tests/revert1/
patchutils-0.3.2/tests/revert1/run-test
patchutils-0.3.2/tests/U3/
patchutils-0.3.2/tests/U3/run-test
patchutils-0.3.2/tests/newline1/
patchutils-0.3.2/tests/newline1/run-test
patchutils-0.3.2/tests/lsdiff7/
patchutils-0.3.2/tests/lsdiff7/run-test
patchutils-0.3.2/tests/select11/
patchutils-0.3.2/tests/select11/run-test
patchutils-0.3.2/tests/lsdiff12/
patchutils-0.3.2/tests/lsdiff12/run-test
patchutils-0.3.2/tests/flip14/
patchutils-0.3.2/tests/flip14/run-test
patchutils-0.3.2/tests/overstrip/
patchutils-0.3.2/tests/overstrip/run-test
patchutils-0.3.2/tests/edit2/
patchutils-0.3.2/tests/edit2/run-test
patchutils-0.3.2/tests/fuzz1/
patchutils-0.3.2/tests/fuzz1/run-test
patchutils-0.3.2/tests/addhunk2/
patchutils-0.3.2/tests/addhunk2/run-test
patchutils-0.3.2/tests/nul1/
patchutils-0.3.2/tests/nul1/run-test
patchutils-0.3.2/tests/delhunk4/
patchutils-0.3.2/tests/delhunk4/run-test
patchutils-0.3.2/tests/soak-test
patchutils-0.3.2/tests/rediff2/
patchutils-0.3.2/tests/rediff2/run-test
patchutils-0.3.2/tests/addhunk1/
patchutils-0.3.2/tests/addhunk1/run-test
patchutils-0.3.2/tests/select4/
patchutils-0.3.2/tests/select4/run-test
patchutils-0.3.2/tests/nul2/
patchutils-0.3.2/tests/nul2/run-test
patchutils-0.3.2/tests/flip9/
patchutils-0.3.2/tests/flip9/run-test
patchutils-0.3.2/tests/edit9/
patchutils-0.3.2/tests/edit9/run-test
patchutils-0.3.2/tests/flip8/
patchutils-0.3.2/tests/flip8/run-test
patchutils-0.3.2/tests/flip1/
patchutils-0.3.2/tests/flip1/run-test
patchutils-0.3.2/tests/apply1/
patchutils-0.3.2/tests/apply1/run-test
patchutils-0.3.2/tests/recount4/
patchutils-0.3.2/tests/recount4/run-test
patchutils-0.3.2/tests/number2/
patchutils-0.3.2/tests/number2/run-test
patchutils-0.3.2/tests/flip16/
patchutils-0.3.2/tests/flip16/run-test
patchutils-0.3.2/tests/delhunk3/
patchutils-0.3.2/tests/delhunk3/run-test
patchutils-0.3.2/tests/nul3/
patchutils-0.3.2/tests/nul3/run-test
patchutils-0.3.2/tests/flip2/
patchutils-0.3.2/tests/flip2/run-test
patchutils-0.3.2/tests/combine3/
patchutils-0.3.2/tests/combine3/run-test
patchutils-0.3.2/tests/grepdiff4/
patchutils-0.3.2/tests/grepdiff4/run-test
patchutils-0.3.2/tests/grepdiff1/
patchutils-0.3.2/tests/grepdiff1/run-test
patchutils-0.3.2/tests/dashes/
patchutils-0.3.2/tests/dashes/run-test
patchutils-0.3.2/tests/newline5/
patchutils-0.3.2/tests/newline5/run-test
patchutils-0.3.2/tests/select10/
patchutils-0.3.2/tests/select10/run-test
patchutils-0.3.2/tests/clean1/
patchutils-0.3.2/tests/clean1/run-test
patchutils-0.3.2/tests/edit4/
patchutils-0.3.2/tests/edit4/run-test
patchutils-0.3.2/tests/delhunk6/
patchutils-0.3.2/tests/delhunk6/run-test
patchutils-0.3.2/tests/recount1/
patchutils-0.3.2/tests/recount1/run-test
patchutils-0.3.2/tests/grepdiff6/
patchutils-0.3.2/tests/grepdiff6/run-test
patchutils-0.3.2/tests/recount3/
patchutils-0.3.2/tests/recount3/run-test
patchutils-0.3.2/tests/nodate/
patchutils-0.3.2/tests/nodate/run-test
patchutils-0.3.2/tests/flip13/
patchutils-0.3.2/tests/flip13/run-test
patchutils-0.3.2/tests/common.sh
patchutils-0.3.2/tests/recount6/
patchutils-0.3.2/tests/recount6/run-test
patchutils-0.3.2/tests/flip11/
patchutils-0.3.2/tests/flip11/run-test
patchutils-0.3.2/tests/select5/
patchutils-0.3.2/tests/select5/run-test
patchutils-0.3.2/tests/edit6/
patchutils-0.3.2/tests/edit6/run-test
patchutils-0.3.2/tests/dashes3/
patchutils-0.3.2/tests/dashes3/run-test
patchutils-0.3.2/tests/flip12/
patchutils-0.3.2/tests/flip12/run-test
patchutils-0.3.2/tests/lsdiff4/
patchutils-0.3.2/tests/lsdiff4/run-test
patchutils-0.3.2/tests/unline1/
patchutils-0.3.2/tests/unline1/run-test
patchutils-0.3.2/tests/lsdiff6/
patchutils-0.3.2/tests/lsdiff6/run-test
patchutils-0.3.2/tests/flip5/
patchutils-0.3.2/tests/flip5/run-test
patchutils-0.3.2/tests/grepdiff3/
patchutils-0.3.2/tests/grepdiff3/run-test
patchutils-0.3.2/tests/flip3/
patchutils-0.3.2/tests/flip3/run-test
patchutils-0.3.2/tests/linux-2.4.0-test-pre-style/
patchutils-0.3.2/tests/linux-2.4.0-test-pre-style/run-test
patchutils-0.3.2/tests/dashes4/
patchutils-0.3.2/tests/dashes4/run-test
patchutils-0.3.2/tests/lsdiff14/
patchutils-0.3.2/tests/lsdiff14/run-test
patchutils-0.3.2/tests/addhunk3/
patchutils-0.3.2/tests/addhunk3/run-test
patchutils-0.3.2/editdiff.in
patchutils-0.3.2/COPYING
patchutils-0.3.2/Makefile.in
patchutils-0.3.2/fixcvsdiff.in
patchutils-0.3.2/depcomp
root@boggle70-desktop:utils#
root@boggle70-desktop:utils# cd patchutils-0.3.2
root@boggle70-desktop:patchutils-0.3.2# ls -la
합계 512
drwxrwxr-x 5 500 500 4096 2011-02-11 00:45 .
drwxr-xr-x 3 root root 4096 2011-12-15 15:18 ..
-rw-rw-r-- 1 500 500 269 2008-06-11 19:01 AUTHORS
-rw-rw-r-- 1 500 500 79 2008-06-11 19:01 BUGS
-rw-rw-r-- 1 500 500 18007 2008-06-11 19:01 COPYING
-rw-rw-r-- 1 500 500 66015 2011-02-11 00:41 ChangeLog
-rw-rw-r-- 1 500 500 7951 2008-06-11 19:01 INSTALL
-rw-rw-r-- 1 500 500 6459 2009-01-22 22:18 Makefile.am
-rw-rw-r-- 1 500 500 38330 2011-02-11 00:44 Makefile.in
-rw-rw-r-- 1 500 500 585 2011-02-11 00:43 NEWS
-rw-rw-r-- 1 500 500 71 2008-06-11 19:01 README
-rw-rw-r-- 1 500 500 516 2009-01-22 01:26 TODO
-rw-rw-r-- 1 500 500 36281 2011-02-11 00:44 aclocal.m4
-rwxrwxr-x 1 500 500 814 2009-01-22 22:18 bootstrap
-rwxr-xr-x 1 500 500 3769 2010-03-29 20:21 compile
-rw-rw-r-- 1 500 500 3351 2011-02-11 00:44 config.h.in
-rwxrwxr-x 1 500 500 185359 2011-02-11 00:44 configure
-rw-rw-r-- 1 500 500 1913 2011-02-11 00:41 configure.in
-rwxrwxr-x 1 500 500 1355 2008-06-11 19:01 dehtmldiff.in
-rwxr-xr-x 1 500 500 18615 2010-03-29 20:21 depcomp
drwxrwxr-x 2 500 500 4096 2011-02-11 00:45 doc
-rw-rw-r-- 1 500 500 2065 2011-02-11 00:36 editdiff.in
-rw-rw-r-- 1 500 500 1567 2008-06-11 19:01 espdiff.in
-rwxrwxr-x 1 500 500 1863 2008-06-11 19:01 fixcvsdiff.in
-rwxr-xr-x 1 500 500 13663 2010-03-29 20:21 install-sh
-rwxr-xr-x 1 500 500 11419 2010-03-29 20:21 missing
-rwxrwxr-x 1 500 500 441 2008-06-11 19:01 move-to-front
-rw-rw-r-- 1 500 500 1386 2011-02-11 00:44 patchutils.spec
-rw-rw-r-- 1 500 500 1389 2008-06-11 19:01 patchutils.spec.in
-rwxrwxr-x 1 500 500 3433 2008-06-11 19:01 recountdiff.in
-rw-rw-r-- 1 500 500 3029 2008-06-11 19:13 splitdiff.in
drwxrwxr-x 2 500 500 4096 2011-02-11 00:45 src
drwxrwxr-x 130 500 500 4096 2011-02-11 00:45 tests
-rwxrwxr-x 1 500 500 5937 2008-06-11 19:01 unwrapdiff.in
root@boggle70-desktop:patchutils-0.3.2# ./bootstrap
Deleting all autogenerated stuff...
./bootstrap: 19: aclocal: not found
-->> autoconf 설치, 추가로 xmlto 설치
root@boggle70-desktop:patchutils-0.3.2# ./bootstrap
Deleting all autogenerated stuff...
configure.in:11: installing `./compile'
configure.in:7: installing `./install-sh'
configure.in:7: installing `./missing'
Makefile.am:30: notdir $<: non-POSIX variable name
Makefile.am:30: (probably a GNU make extension)
Makefile.am:33: notdir $<: non-POSIX variable name
Makefile.am:33: (probably a GNU make extension)
Makefile.am:36: notdir $<: non-POSIX variable name
Makefile.am:36: (probably a GNU make extension)
Makefile.am:39: notdir $<: non-POSIX variable name
Makefile.am:39: (probably a GNU make extension)
Makefile.am: installing `./depcomp'
Now run ./configure
root@boggle70-desktop:patchutils-0.3.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking for sensible-editor... sensible-editor
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking error.h usability... yes
checking error.h presence... yes
checking for error.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working POSIX fnmatch... yes
checking for strcspn... yes
checking for strspn... yes
checking for strtoul... yes
checking for getline... yes
checking for error... yes
checking for getopt_long... yes
checking for diff program... diff
checking for patch program... patch
checking whether patch works... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating splitdiff
config.status: creating editdiff
config.status: creating fixcvsdiff
config.status: creating recountdiff
config.status: creating unwrapdiff
config.status: creating dehtmldiff
config.status: creating espdiff
config.status: creating patchutils.spec
config.status: creating config.h
config.status: executing depfiles commands
root@boggle70-desktop:patchutils-0.3.2# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /staff/utils/patchutils-0.3.2/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-am
make[1]: Entering directory `/staff/utils/patchutils-0.3.2'
depbase=`echo src/interdiff.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -MT src/interdiff.o -MD -MP -MF $depbase.Tpo -c -o src/interdiff.o src/interdiff.c &&\
mv -f $depbase.Tpo $depbase.Po
src/interdiff.c: In function ‘flipdiff’:
src/interdiff.c:1539: warning: ignoring return value of ‘getline’, declared with attribute warn_unused_result
src/interdiff.c:1541: warning: ignoring return value of ‘getline’, declared with attribute warn_unused_result
src/interdiff.c:1545: warning: ignoring return value of ‘getline’, declared with attribute warn_unused_result
src/interdiff.c:1547: warning: ignoring return value of ‘getline’, declared with attribute warn_unused_result
depbase=`echo src/util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -MT src/util.o -MD -MP -MF $depbase.Tpo -c -o src/util.o src/util.c &&\
mv -f $depbase.Tpo $depbase.Po
src/util.c: In function ‘xpipe’:
src/util.c:299: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
src/util.c:309: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
src/util.c:314: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
src/util.c:316: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result
depbase=`echo src/diff.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -MT src/diff.o -MD -MP -MF $depbase.Tpo -c -o src/diff.o src/diff.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/myerror.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -MT src/myerror.o -MD -MP -MF $depbase.Tpo -c -o src/myerror.o src/myerror.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -I./src -g -O2 -Wall -o src/interdiff src/interdiff.o src/util.o src/diff.o src/myerror.o
depbase=`echo src/filterdiff.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -MT src/filterdiff.o -MD -MP -MF $depbase.Tpo -c -o src/filterdiff.o src/filterdiff.c &&\
mv -f $depbase.Tpo $depbase.Po
src/filterdiff.c: In function ‘read_regex_file’:
src/filterdiff.c:1249: warning: format not a string literal and no format arguments
src/filterdiff.c: In function ‘main’:
src/filterdiff.c:1495: warning: format not a string literal and no format arguments
gcc -I./src -g -O2 -Wall -o src/filterdiff src/filterdiff.o src/util.o src/diff.o src/myerror.o
depbase=`echo src/rediff.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -MT src/rediff.o -MD -MP -MF $depbase.Tpo -c -o src/rediff.o src/rediff.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -I./src -g -O2 -Wall -o src/rediff src/rediff.o src/util.o src/diff.o src/myerror.o
make[1]: Leaving directory `/staff/utils/patchutils-0.3.2'
root@boggle70-desktop:patchutils-0.3.2# make install
make[1]: Entering directory `/staff/utils/patchutils-0.3.2'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c src/interdiff src/filterdiff src/rediff '/usr/local/bin'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c fixcvsdiff splitdiff editdiff recountdiff unwrapdiff dehtmldiff espdiff '/usr/local/bin'
make install-exec-hook
make[2]: Entering directory `/staff/utils/patchutils-0.3.2'
ln -sf "`echo interdiff|sed 's,x,x,'`" /usr/local/bin/"`echo combinediff|sed 's,x,x,'`"
ln -sf "`echo interdiff|sed 's,x,x,'`" /usr/local/bin/"`echo flipdiff|sed 's,x,x,'`"
ln -sf "`echo filterdiff|sed 's,x,x,'`" /usr/local/bin/"`echo lsdiff|sed 's,x,x,'`"
ln -sf "`echo filterdiff|sed 's,x,x,'`" /usr/local/bin/"`echo grepdiff|sed 's,x,x,'`"
make[2]: Leaving directory `/staff/utils/patchutils-0.3.2'
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 doc/interdiff.1 doc/filterdiff.1 doc/fixcvsdiff.1 doc/rediff.1 doc/editdiff.1 doc/combinediff.1 doc/lsdiff.1 doc/splitdiff.1 doc/grepdiff.1 doc/recountdiff.1 doc/unwrapdiff.1 doc/dehtmldiff.1 doc/flipdiff.1 doc/espdiff.1 '/usr/local/share/man/man1'
make[1]: Leaving directory `/staff/utils/patchutils-0.3.2'
이제 fixcvsdiff splitdiff editdiff recountdiff unwrapdiff dehtmldiff espdiff 등의 명령을 사용할수 있다.
Web man : http://cyberelk.net/tim/patchutils/man/index.html