1 # Makefile for libiconv/man
3 #### Start of system configuration section. ####
5 # Directories used by "make":
8 # Directories used by "make install":
10 local_prefix
= /usr
/local
11 exec_prefix = @
exec_prefix@
13 docdir
= $(prefix)/doc
/libiconv
16 # Programs used by "make":
20 # Programs used by "make install":
22 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
23 INSTALL_DATA
= @INSTALL_DATA@
25 #### End of system configuration section. ####
32 if
[ ! -d
$(DESTDIR
)$(prefix) ] ; then mkdir
$(DESTDIR
)$(prefix) ; fi
33 if
[ ! -d
$(DESTDIR
)$(mandir) ] ; then mkdir
$(DESTDIR
)$(mandir) ; fi
34 if
[ ! -d
$(DESTDIR
)$(mandir)/man1
] ; then mkdir
$(DESTDIR
)$(mandir)/man1
; fi
35 cd
$(srcdir) && for f in
*.1 ; do echo
$(INSTALL_DATA
) $$f $(DESTDIR
)$(mandir)/man1
/$$f ; $(INSTALL_DATA
) $$f $(DESTDIR
)$(mandir)/man1
/$$f ; done
36 if
[ ! -d
$(DESTDIR
)$(mandir)/man3
] ; then mkdir
$(DESTDIR
)$(mandir)/man3
; fi
37 cd
$(srcdir) && for f in
*.3 ; do echo
$(INSTALL_DATA
) $$f $(DESTDIR
)$(mandir)/man3
/$$f ; $(INSTALL_DATA
) $$f $(DESTDIR
)$(mandir)/man3
/$$f ; done
38 if
[ ! -d
$(DESTDIR
)$(prefix)/doc
] ; then mkdir
$(DESTDIR
)$(prefix)/doc
; fi
39 if
[ ! -d
$(DESTDIR
)$(docdir
) ] ; then mkdir
$(DESTDIR
)$(docdir
) ; fi
40 if
[ ! -d
$(DESTDIR
)$(htmldir
) ] ; then mkdir
$(DESTDIR
)$(htmldir
) ; fi
41 cd
$(srcdir) && for f in
*.html
; do echo
$(INSTALL_DATA
) $$f $(DESTDIR
)$(htmldir
)/$$f ; $(INSTALL_DATA
) $$f $(DESTDIR
)$(htmldir
)/$$f ; done
44 if
[ ! -d
$(DESTDIR
)$(prefix) ] ; then mkdir
$(DESTDIR
)$(prefix) ; fi
45 if
[ ! -d
$(DESTDIR
)$(mandir) ] ; then mkdir
$(DESTDIR
)$(mandir) ; fi
46 if
[ ! -d
$(DESTDIR
)$(mandir)/man1
] ; then mkdir
$(DESTDIR
)$(mandir)/man1
; fi
47 if
[ ! -d
$(DESTDIR
)$(mandir)/man3
] ; then mkdir
$(DESTDIR
)$(mandir)/man3
; fi
48 if
[ ! -d
$(DESTDIR
)$(prefix)/doc
] ; then mkdir
$(DESTDIR
)$(prefix)/doc
; fi
49 if
[ ! -d
$(DESTDIR
)$(docdir
) ] ; then mkdir
$(DESTDIR
)$(docdir
) ; fi
50 if
[ ! -d
$(DESTDIR
)$(htmldir
) ] ; then mkdir
$(DESTDIR
)$(htmldir
) ; fi
53 cd
$(srcdir) && for f in
*.1 ; do echo
$(RM
) $(DESTDIR
)$(mandir)/man1
/$$f ; $(RM
) $(DESTDIR
)$(mandir)/man1
/$$f ; done
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
66 maintainer-clean
: distclean