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@
14 # Programs used by "make":
18 # Programs used by "make install":
20 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
21 INSTALL_DATA
= @INSTALL_DATA@
23 #### End of system configuration section. ####
30 if
[ ! -d
$(DESTDIR
)$(prefix) ] ; then mkdir
$(DESTDIR
)$(prefix) ; fi
31 if
[ ! -d
$(DESTDIR
)$(mandir) ] ; then mkdir
$(DESTDIR
)$(mandir) ; fi
32 if
[ ! -d
$(DESTDIR
)$(mandir)/man1
] ; then mkdir
$(DESTDIR
)$(mandir)/man1
; fi
33 cd
$(srcdir) && for f in
*.1 ; do echo
$(INSTALL_DATA
) $$f $(DESTDIR
)$(mandir)/man1
/$$f ; $(INSTALL_DATA
) $$f $(DESTDIR
)$(mandir)/man1
/$$f ; done
34 if
[ ! -d
$(DESTDIR
)$(mandir)/man3
] ; then mkdir
$(DESTDIR
)$(mandir)/man3
; fi
35 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) ] ; then mkdir
$(DESTDIR
)$(prefix) ; fi
39 if
[ ! -d
$(DESTDIR
)$(mandir) ] ; then mkdir
$(DESTDIR
)$(mandir) ; fi
40 if
[ ! -d
$(DESTDIR
)$(mandir)/man1
] ; then mkdir
$(DESTDIR
)$(mandir)/man1
; fi
41 if
[ ! -d
$(DESTDIR
)$(mandir)/man3
] ; then mkdir
$(DESTDIR
)$(mandir)/man3
; fi
44 cd
$(srcdir) && for f in
*.1 ; do echo
$(RM
) $(DESTDIR
)$(mandir)/man1
/$$f ; $(RM
) $(DESTDIR
)$(mandir)/man1
/$$f ; done
45 cd
$(srcdir) && for f in
*.3 ; do echo
$(RM
) $(DESTDIR
)$(mandir)/man3
/$$f ; $(RM
) $(DESTDIR
)$(mandir)/man3
/$$f ; done
56 maintainer-clean
: distclean