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@
12 datarootdir
= @datarootdir@
18 # Programs used by "make":
22 # Programs used by "make install":
24 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
25 INSTALL_DATA
= @INSTALL_DATA@
26 mkinstalldirs
= $(SHELL
) @top_srcdir@
/build-aux
/mkinstalldirs
28 #### End of system configuration section. ####
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
45 install-strip
: install
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
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
68 # List of source files.
77 # List of distributed files imported from other packages.
79 # List of distributed files generated by autotools or Makefile.devel.
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
)
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; \