100 lines
3.1 KiB
Makefile
100 lines
3.1 KiB
Makefile
# Makefile for libiconv/man
|
|
|
|
#### Start of system configuration section. ####
|
|
|
|
# Directories used by "make":
|
|
srcdir = @srcdir@
|
|
|
|
# Directories used by "make install":
|
|
prefix = @prefix@
|
|
local_prefix = /usr/local
|
|
exec_prefix = @exec_prefix@
|
|
datarootdir = @datarootdir@
|
|
datadir = @datadir@
|
|
mandir = @mandir@
|
|
docdir = @docdir@
|
|
htmldir = @htmldir@
|
|
|
|
# Programs used by "make":
|
|
RM = rm -f
|
|
@SET_MAKE@
|
|
|
|
# Programs used by "make install":
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
SHELL = @SHELL@
|
|
|
|
# Used by docdir.
|
|
PACKAGE = @PACKAGE@
|
|
|
|
all :
|
|
|
|
install : force
|
|
if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; fi
|
|
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
|
|
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 ; fi
|
|
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
|
|
if [ ! -d $(DESTDIR)$(htmldir) ] ; then $(mkinstalldirs) $(DESTDIR)$(htmldir) ; fi
|
|
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
|
|
|
|
install-strip : install
|
|
|
|
installdirs : force
|
|
if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; fi
|
|
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 ; fi
|
|
if [ ! -d $(DESTDIR)$(htmldir) ] ; then $(mkinstalldirs) $(DESTDIR)$(htmldir) ; fi
|
|
|
|
uninstall : force
|
|
cd $(srcdir) && for f in *.1 ; do echo $(RM) $(DESTDIR)$(mandir)/man1/$$f ; $(RM) $(DESTDIR)$(mandir)/man1/$$f ; done
|
|
cd $(srcdir) && for f in *.3 ; do echo $(RM) $(DESTDIR)$(mandir)/man3/$$f ; $(RM) $(DESTDIR)$(mandir)/man3/$$f ; done
|
|
cd $(srcdir) && for f in *.html ; do echo $(RM) $(DESTDIR)$(htmldir)/$$f ; $(RM) $(DESTDIR)$(htmldir)/$$f ; done
|
|
|
|
check :
|
|
|
|
mostlyclean :
|
|
|
|
clean :
|
|
|
|
distclean : force
|
|
$(RM) Makefile
|
|
|
|
maintainer-clean : distclean
|
|
|
|
# List of source files.
|
|
SOURCE_FILES = \
|
|
Makefile.in \
|
|
iconv.1 \
|
|
iconv.3 \
|
|
iconv_close.3 \
|
|
iconv_open.3 \
|
|
iconvctl.3 \
|
|
iconv_open_into.3
|
|
# List of distributed files imported from other packages.
|
|
IMPORTED_FILES =
|
|
# List of distributed files generated by autotools or Makefile.devel.
|
|
GENERATED_FILES = \
|
|
iconv.1.html \
|
|
iconv.3.html \
|
|
iconv_close.3.html \
|
|
iconv_open.3.html \
|
|
iconvctl.3.html \
|
|
iconv_open_into.3.html
|
|
# List of distributed files generated by "make".
|
|
DISTRIBUTED_BUILT_FILES =
|
|
# List of distributed files.
|
|
DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
|
|
|
|
distdir : $(DISTFILES)
|
|
for file in $(DISTFILES); do \
|
|
if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
|
|
cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
|
|
done
|
|
|
|
force :
|
|
|