1 --- autoconvert-0.3.16/Makefile 2001-04-28 09:45:46.000000000 +0800
2 +++ autoconvert-0.3.16-fix/Makefile 2011-05-01 11:25:23.432934576 +0800
5 .PHONY: all hzlib clean install-home install
7 -all: autob5 autogb hzlib xchat-plugins
8 +all: autob5 autogb hzlib
11 rm -f autob5;ln -s autogb autob5
13 $(CC) $(CFLAG) autogb.c lib/libhz.a -o autogb
17 - cd contrib/xchat-plugins;make
19 rm -f autob5 autogb *.o *~
22 ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
23 chmod 755 $(HOME)/bin/autogb
25 + mkdir -p $(DESTDIR)/usr/bin
26 + mkdir -p $(DESTDIR)/usr/lib
27 + mkdir -p $(DESTDIR)/usr/include
28 install -m 755 autogb $(DESTDIR)/usr/bin
29 install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib
30 cd $(DESTDIR)/usr/lib;ln -s libhz.so.0.0 libhz.so.0
31 cd $(DESTDIR)/usr/lib;ln -s libhz.so.0 libhz.so
32 - install -m 755 lib/libhz.a $(DESTDIR)/usr/lib
33 - install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert
34 - install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert
35 + install -m 644 lib/libhz.a $(DESTDIR)/usr/lib
36 install -m 644 include/*.h $(DESTDIR)/usr/include
37 ln -s autogb $(DESTDIR)/usr/bin/autob5