1# Makefile for libiconv/man 2 3#### Start of system configuration section. #### 4 5# Directories used by "make": 6srcdir = @srcdir@ 7 8# Directories used by "make install": 9prefix = @prefix@ 10local_prefix = /usr/local 11exec_prefix = @exec_prefix@ 12datarootdir = @datarootdir@ 13datadir = @datadir@ 14mandir = @mandir@ 15docdir = @docdir@ 16htmldir = @htmldir@ 17 18# Programs used by "make": 19RM = rm -f 20@SET_MAKE@ 21 22# Programs used by "make install": 23INSTALL = @INSTALL@ 24INSTALL_PROGRAM = @INSTALL_PROGRAM@ 25INSTALL_DATA = @INSTALL_DATA@ 26mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs 27 28#### End of system configuration section. #### 29 30SHELL = /bin/sh 31 32# Used by docdir. 33PACKAGE = @PACKAGE@ 34 35all : 36 37install : force 38 if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; fi 39 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 40 if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 ; fi 41 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 42 if [ ! -d $(DESTDIR)$(htmldir) ] ; then $(mkinstalldirs) $(DESTDIR)$(htmldir) ; fi 43 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 44 45install-strip : install 46 47installdirs : force 48 if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; fi 49 if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 ; fi 50 if [ ! -d $(DESTDIR)$(htmldir) ] ; then $(mkinstalldirs) $(DESTDIR)$(htmldir) ; fi 51 52uninstall : force 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 56 57check : 58 59mostlyclean : 60 61clean : 62 63distclean : force 64 $(RM) Makefile 65 66maintainer-clean : distclean 67 68force : 69 70