1: # Makefile for libiconv/man
2:
3: #### Start of system configuration section. ####
4:
5: # Directories used by "make":
6: srcdir = @srcdir@
7:
8: # Directories used by "make install":
9: prefix = @prefix@
10: local_prefix = /usr/local
11: exec_prefix = @exec_prefix@
12: datarootdir = @datarootdir@
13: datadir = @datadir@
14: mandir = @mandir@
15: docdir = @docdir@
16: htmldir = @htmldir@
17:
18: # Programs used by "make":
19: RM = rm -f
20: @SET_MAKE@
21:
22: # Programs used by "make install":
23: INSTALL = @INSTALL@
24: INSTALL_PROGRAM = @INSTALL_PROGRAM@
25: INSTALL_DATA = @INSTALL_DATA@
26: mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
27:
28: #### End of system configuration section. ####
29:
30: SHELL = @SHELL@
31:
32: # Used by docdir.
33: PACKAGE = @PACKAGE@
34:
35: all :
36:
37: install : 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:
45: install-strip : install
46:
47: installdirs : 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:
52: uninstall : 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:
57: check :
58:
59: mostlyclean :
60:
61: clean :
62:
63: distclean : force
64: $(RM) Makefile
65:
66: maintainer-clean : distclean
67:
68: # List of source files.
69: SOURCE_FILES = \
70: Makefile.in \
71: iconv.1 \
72: iconv.3 \
73: iconv_close.3 \
74: iconv_open.3 \
75: iconvctl.3 \
76: iconv_open_into.3
77: # List of distributed files imported from other packages.
78: IMPORTED_FILES =
79: # List of distributed files generated by autotools or Makefile.devel.
80: GENERATED_FILES = \
81: iconv.1.html \
82: iconv.3.html \
83: iconv_close.3.html \
84: iconv_open.3.html \
85: iconvctl.3.html \
86: iconv_open_into.3.html
87: # List of distributed files generated by "make".
88: DISTRIBUTED_BUILT_FILES =
89: # List of distributed files.
90: DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
91:
92: distdir : $(DISTFILES)
93: for file in $(DISTFILES); do \
94: if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
95: cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
96: done
97:
98: force :
99:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>