Line 0
Link Here
|
|
|
1 |
--- Makefile.in.orig 2009-02-17 13:10:19.000000000 +0900 |
2 |
+++ Makefile.in 2009-02-17 13:15:37.000000000 +0900 |
3 |
@@ -32,7 +32,9 @@ |
4 |
all : lib/localcharset.h force |
5 |
cd lib && $(MAKE) all |
6 |
cd srclib && $(MAKE) all |
7 |
+.if !defined(WITHOUT_ICONV_1) |
8 |
cd src && $(MAKE) all |
9 |
+.endif |
10 |
cd po && $(MAKE) all |
11 |
cd man && $(MAKE) all |
12 |
if test -d tests; then cd tests && $(MAKE) all; fi |
13 |
@@ -51,7 +53,9 @@ |
14 |
cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' |
15 |
cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' |
16 |
cd srclib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' |
17 |
+.if !defined(WITHOUT_ICONV_1) |
18 |
cd src && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' |
19 |
+.endif |
20 |
if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi |
21 |
$(INSTALL_DATA) include/iconv.h.inst $(DESTDIR)$(includedir)/iconv.h |
22 |
cd po && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' |
23 |
--- man/Makefile.in.orig 2009-02-17 13:16:08.000000000 +0900 |
24 |
+++ man/Makefile.in 2009-02-17 13:23:43.000000000 +0900 |
25 |
@@ -35,20 +35,31 @@ |
26 |
all : |
27 |
|
28 |
install : force |
29 |
+.if !defined(WITHOUT_ICONV_1) |
30 |
if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; fi |
31 |
builddir="`pwd`"; cd $(srcdir) && for f in *.1 ; do (cd "$$builddir"; echo $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(mandir)/man1/$$f ; $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(mandir)/man1/$$f) ; done |
32 |
+.endif |
33 |
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 ; fi |
34 |
builddir="`pwd`"; cd $(srcdir) && for f in *.3 ; do (cd "$$builddir"; echo $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(mandir)/man3/$$f ; $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(mandir)/man3/$$f) ; done |
35 |
if [ ! -d $(DESTDIR)$(htmldir) ] ; then $(mkinstalldirs) $(DESTDIR)$(htmldir) ; fi |
36 |
+.if !defined(WITHOUT_ICONV_1) |
37 |
builddir="`pwd`"; cd $(srcdir) && for f in *.html ; do (cd "$$builddir"; echo $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(htmldir)/$$f ; $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(htmldir)/$$f) ; done |
38 |
+.else |
39 |
+ builddir="`pwd`"; cd $(srcdir) && for f in *.3.html ; do (cd "$$builddir"; echo $(INSTALL_DIR) $(srcdir)/$$f $(DESTDIR)$(htmldir)/$$f ; $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(htmldir)/$$f) ; done |
40 |
+ |
41 |
+.endif |
42 |
|
43 |
installdirs : force |
44 |
+.if !defined(WITHOUT_ICONV_1) |
45 |
if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; fi |
46 |
+.endif |
47 |
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 ; fi |
48 |
if [ ! -d $(DESTDIR)$(htmldir) ] ; then $(mkinstalldirs) $(DESTDIR)$(htmldir) ; fi |
49 |
|
50 |
uninstall : force |
51 |
+.if !defined(WITHOUT_ICONV_1) |
52 |
cd $(srcdir) && for f in *.1 ; do echo $(RM) $(DESTDIR)$(mandir)/man1/$$f ; $(RM) $(DESTDIR)$(mandir)/man1/$$f ; done |
53 |
+.endif |
54 |
cd $(srcdir) && for f in *.3 ; do echo $(RM) $(DESTDIR)$(mandir)/man3/$$f ; $(RM) $(DESTDIR)$(mandir)/man3/$$f ; done |
55 |
cd $(srcdir) && for f in *.html ; do echo $(RM) $(DESTDIR)$(htmldir)/$$f ; $(RM) $(DESTDIR)$(htmldir)/$$f ; done |
56 |
|