diff options
Diffstat (limited to 'Build/source/utils')
-rw-r--r-- | Build/source/utils/Makefile.in | 2 | ||||
-rwxr-xr-x | Build/source/utils/configure | 93 | ||||
-rw-r--r-- | Build/source/utils/psutils/Makefile.am | 101 | ||||
-rw-r--r-- | Build/source/utils/psutils/Makefile.in | 193 |
4 files changed, 176 insertions, 213 deletions
diff --git a/Build/source/utils/Makefile.in b/Build/source/utils/Makefile.in index fa3e1c9f566..3528c1e6355 100644 --- a/Build/source/utils/Makefile.in +++ b/Build/source/utils/Makefile.in @@ -61,7 +61,6 @@ am__aclocal_m4_deps = $(top_srcdir)/../m4/kpse-cxx-hack.m4 \ $(top_srcdir)/../texk/ac/withenable.ac \ $(top_srcdir)/../texk/web2c/ac/withenable.ac \ $(top_srcdir)/../texk/web2c/ac/web2c.ac \ - $(top_srcdir)/../texk/one/ac/withenable.ac \ $(top_srcdir)/../texk/afm2pl/ac/withenable.ac \ $(top_srcdir)/../texk/bibtex8/ac/withenable.ac \ $(top_srcdir)/../texk/cjkutils/ac/withenable.ac \ @@ -97,6 +96,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../m4/kpse-cxx-hack.m4 \ $(top_srcdir)/../texk/kpathsea/ac/withenable.ac \ $(top_srcdir)/../texk/kpathsea/ac/web2c.ac \ $(top_srcdir)/../libs/ac/withenable.ac \ + $(top_srcdir)/../libs/icu/ac/withenable.ac \ $(top_srcdir)/../libs/teckit/ac/withenable.ac \ $(top_srcdir)/../libs/graphite/ac/withenable.ac \ $(top_srcdir)/../libs/xpdf/ac/withenable.ac \ diff --git a/Build/source/utils/configure b/Build/source/utils/configure index cb1655e2678..cddff3df811 100755 --- a/Build/source/utils/configure +++ b/Build/source/utils/configure @@ -716,7 +716,6 @@ enable_tektronixwin enable_unitermwin enable_mp enable_web_progs -enable_one enable_afm2pl enable_bibtex8 enable_cjkutils @@ -1455,25 +1454,24 @@ Optional Features: --disable-dump-share make fmt/base/mem files architecture-dependent --enable-fmtutil use fmtutil for build dumps --enable-ipc enable TeX's --ipc option, i.e., pipe to a program - --disable-tex do not compile and install TeX - --enable-etex compile and install e-TeX - --disable-aleph do not compile and install Aleph - --disable-pdftex do not compile and install pdfTeX - --disable-luatex do not compile and install luaTeX - --enable-xetex compile and install XeTeX + --disable-tex do not compile and install TeX + --enable-etex compile and install e-TeX + --disable-aleph do not compile and install Aleph + --disable-pdftex do not compile and install pdfTeX + --disable-luatex do not compile and install luaTeX + --disable-xetex do not compile and install XeTeX --disable-mf do not build METAFONT - --enable-mf-nowin build a separate non-windows-capable METAFONT - --enable-epsfwin include EPSF pseudo window support - --enable-hp2627win include HP 2627 window support - --enable-mftalkwin include mftalk (generic server) window support - --enable-nextwin include NeXT window support - --enable-regiswin include Regis window support - --enable-suntoolswin include old Suntools (not X) window support - --enable-tektronixwin include Tektronix window support - --enable-unitermwin include Uniterm window support + --enable-mf-nowin build a separate non-windows-capable METAFONT + --enable-epsfwin include EPSF pseudo window support + --enable-hp2627win include HP 2627 window support + --enable-mftalkwin include mftalk (generic server) window support + --enable-nextwin include NeXT window support + --enable-regiswin include Regis window support + --enable-suntoolswin include old Suntools (not X) window support + --enable-tektronixwin include Tektronix window support + --enable-unitermwin include Uniterm window support --disable-mp do not build METAPOST --disable-web-progs do not build WEB programs bibtex ... weave - --enable-one build the one (testing) package --disable-afm2pl do not build the afm2pl package --disable-bibtex8 do not build the bibtex8 package --disable-cjkutils do not build the cjkutils package @@ -1520,13 +1518,14 @@ Optional Features: --disable-xdvipdfmx do not build the xdvipdfmx package --disable-tetex do not build the tetex (teTeX scripts) package --disable-texlive do not build the texlive (TeX Live scripts) package - --disable-mktexmf-default do not run mktexmf if MF source missing - --disable-mktexpk-default do not run mktexpk if PK font missing - --disable-mktextfm-default do not run mktextfm if TFM file missing - --disable-mkocp-default do not run mkocp if OCP file missing - --disable-mkofm-default do not run mkofm if OFM file missing - --enable-mktexfmt-default run mktexfmt if format file missing - --enable-mktextex-default run mktextex if TeX source missing + --disable-mktexmf-default do not run mktexmf if MF source missing + --disable-mktexpk-default do not run mktexpk if PK font missing + --disable-mktextfm-default + do not run mktextfm if TFM file missing + --disable-mkocp-default do not run mkocp if OCP file missing + --disable-mkofm-default do not run mkofm if OFM file missing + --enable-mktexfmt-default run mktexfmt if format file missing + --enable-mktextex-default run mktextex if TeX source missing --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -2286,7 +2285,7 @@ esac ## texk/ac/withenable.ac -## texk/web2c/ac/withenable.ac +## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ ## configure options and TL libraries required for web2c # Check whether --enable-web2c was given. if test "${enable_web2c+set}" = set; then @@ -2305,7 +2304,7 @@ test "x$enable_web2c" = xno || { need_zlib=yes } -## texk/web2c/ac/web2c.ac +## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ ## configure options for TeX and MF # Check whether --with-editor was given. @@ -2362,7 +2361,7 @@ case $enable_pdftex in *) enable_pdftex=yes ;; esac -test "x$enable_pdftex" = xno || { +test "x$enable_web2c:$enable_pdftex" = xyes:yes && { need_xpdf=yes need_libpng=yes need_obsdcompat=yes @@ -2376,7 +2375,7 @@ case $enable_luatex in *) enable_luatex=yes ;; esac -test "x$enable_luatex" = xno || { +test "x$enable_web2c:$enable_luatex" = xyes:yes && { need_xpdf=yes need_libpng=yes need_obsdcompat=yes @@ -2387,13 +2386,16 @@ if test "${enable_xetex+set}" = set; then fi case $enable_xetex in yes|no) : ;; - *) enable_xetex=no ;; + *) enable_xetex=yes ;; esac -test "x$enable_xetex" = xno || { +test "x$enable_web2c:$enable_xetex" = xyes:yes && { need_xpdf=yes need_libpng=yes need_freetype2=yes + need_icu=yes + need_teckit=yes + need_graphite=yes } ## configure options for MF # Check whether --enable-mf was given. @@ -2453,29 +2455,6 @@ if test "${enable_web_progs+set}" = set; then fi -## texk/one/ac/withenable.ac -## configure options and TL libraries required for one -# Check whether --enable-one was given. -if test "${enable_one+set}" = set; then - enableval=$enable_one; -fi -case $enable_one in #( - yes|no);; #( - *) enable_one=no - { $as_echo "$as_me:$LINENO: Assuming \`--enable-one=$enable_one'" >&5 -$as_echo "$as_me: Assuming \`--enable-one=$enable_one'" >&6;} - ac_configure_args="$ac_configure_args '--enable-one=$enable_one'";; -esac - -test "x$enable_one" = xno || { - need_freetype2=yes - need_t1lib=yes - need_gd=yes - need_teckit=yes - need_graphite=yes -} - - ## texk/afm2pl/ac/withenable.ac ## configure options and TL libraries required for afm2pl # Check whether --enable-afm2pl was given. @@ -3110,7 +3089,7 @@ esac -## texk/kpathsea/ac/withenable.ac +## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ ## configure options and TL libraries required for kpathsea # Check whether --with-system-kpathsea was given. @@ -3140,7 +3119,7 @@ $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;} ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'" fi -## texk/kpathsea/ac/web2c.ac +## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ ## configure options for mktextmf-default & Co # Check whether --enable-mktexmf-default was given. if test "${enable_mktexmf_default+set}" = set; then @@ -3202,6 +3181,10 @@ esac ## libs/ac/withenable.ac +## libs/icu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/ +## configure options and TL libraries required for icu (modified for XeTeX) + + ## libs/teckit/ac/withenable.ac ## configure options and TL libraries required for teckit diff --git a/Build/source/utils/psutils/Makefile.am b/Build/source/utils/psutils/Makefile.am index 15b7b4c10dc..754a7878e0c 100644 --- a/Build/source/utils/psutils/Makefile.am +++ b/Build/source/utils/psutils/Makefile.am @@ -1,36 +1,10 @@ ## OS = UNIX PAPER = a4 -CHMOD = chmod -BINMODE = +x AM_CPPFLAGS = -DUNIX -DPAPER=\"$(PAPER)\" bin_PROGRAMS = epsffit psbook psnup psresize psselect pstops -bin_SCRIPTS = getafm showchar \ - extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps \ - fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psmerge -CLEANFILES = $(bin_SCRIPTS) - -PERL = /usr/bin/env perl -MAKETEXT = $(PERL) $(srcdir)/maketext - -man1_MANS = epsffit.1 psbook.1 psnup.1 psresize.1 psselect.1 pstops.1 \ - getafm.1 \ - extractres.1 fixdlsrps.man fixfmps.man fixmacps.man \ - fixpsditps.man fixpspps.man fixscribeps.man fixtpps.man \ - fixwfwps.man fixwpps.man fixwwps.man includeres.man psmerge.man -dist_man_MANS = $(man1_MANS) - -%: %.pl - $(MAKETEXT) OS=$(OS) PERL="$(PERL)" $< >$@ - -%: %.sh - cp $< $@ - $(CHMOD) $(BINMODE) $@ - -%.1: %.man - $(MAKETEXT) PAPER=$(PAPER) "MAN=$(man1_MANS)" $< >$@ epsffit_SOURCES = \ config.h \ @@ -87,23 +61,63 @@ pstops_SOURCES = \ EXTRA_DIST = \ LICENSE -# scripts. -EXTRA_DIST += \ - getafm.sh \ - showchar.sh \ - extractres.pl \ - fixdlsrps.pl \ - fixfmps.pl \ - fixmacps.pl \ - fixpsditps.pl \ - fixpspps.pl \ - fixscribeps.pl \ - fixtpps.pl \ - fixwfwps.pl \ - fixwpps.pl \ - fixwwps.pl \ - includeres.pl \ - psmerge.pl +perl_scripts = extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps \ + fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psmerge + +shell_scripts = getafm showchar + +nodist_bin_SCRIPTS = $(perl_scripts) + +install-exec-hook: + @for f in $(shell_scripts); do \ + echo "$(INSTALL_SCRIPT) '$(srcdir)/$$f.sh' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_SCRIPT) "$(srcdir)/$$f.sh" "$(DESTDIR)$(bindir)/$$f"; \ + done + +uninstall-hook: + @for f in $(shell_scripts); do \ + echo "rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done + +dist_man1_MANS = \ + fixdlsrps.man \ + fixfmps.man \ + fixmacps.man \ + fixpsditps.man \ + fixpspps.man \ + fixscribeps.man \ + fixtpps.man \ + fixwfwps.man \ + fixwpps.man \ + fixwwps.man \ + getafm.man \ + includeres.man \ + psmerge.man + +nodist_man1_MANS = \ + epsffit.1\ + extractres.1 \ + psbook.1 \ + psnup.1 \ + psresize.1 \ + psselect.1 \ + pstops.1 + +EXTRA_DIST += $(perl_scripts:=.pl) $(shell_scripts:=.sh) $(nodist_man1_MANS:.1=.man) + +CLEANFILES = $(nodist_bin_SCRIPTS) $(nodist_man1_MANS) + +PERL = /usr/bin/env perl +MAKETEXT = $(PERL) $(srcdir)/maketext + +EXTRA_DIST += maketext + +%: %.pl + $(MAKETEXT) OS=$(OS) PERL="$(PERL)" $< >$@ + +%.1: %.man + $(MAKETEXT) PAPER=$(PAPER) "MAN=$(man1_MANS)" $< >$@ ## Not used ## @@ -116,7 +130,6 @@ EXTRA_DIST += \ Makefile.unix \ Makefile.wat \ descrip.mms \ - maketext \ md68_0.ps \ md71_0.ps diff --git a/Build/source/utils/psutils/Makefile.in b/Build/source/utils/psutils/Makefile.in index 21287bfef24..bc6de42cf67 100644 --- a/Build/source/utils/psutils/Makefile.in +++ b/Build/source/utils/psutils/Makefile.in @@ -34,7 +34,7 @@ POST_UNINSTALL = : bin_PROGRAMS = epsffit$(EXEEXT) psbook$(EXEEXT) psnup$(EXEEXT) \ psresize$(EXEEXT) psselect$(EXEEXT) pstops$(EXEEXT) subdir = . -DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \ +DIST_COMMON = README $(am__configure_deps) $(dist_man1_MANS) \ $(srcdir)/../../build-aux/depcomp \ $(srcdir)/../../build-aux/install-sh \ $(srcdir)/../../build-aux/missing $(srcdir)/Makefile.am \ @@ -53,7 +53,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = patchlev.h am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(manmdir)" + "$(DESTDIR)$(man1dir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_epsffit_OBJECTS = epsffit.$(OBJEXT) pserror.$(OBJEXT) @@ -79,8 +79,8 @@ am_pstops_OBJECTS = pserror.$(OBJEXT) psspec.$(OBJEXT) \ pstops.$(OBJEXT) psutil.$(OBJEXT) pstops_OBJECTS = $(am_pstops_OBJECTS) pstops_LDADD = $(LDADD) -binSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(bin_SCRIPTS) +nodist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(nodist_bin_SCRIPTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/../../build-aux/depcomp am__depfiles_maybe = depfiles @@ -93,9 +93,8 @@ SOURCES = $(epsffit_SOURCES) $(psbook_SOURCES) $(psnup_SOURCES) \ DIST_SOURCES = $(epsffit_SOURCES) $(psbook_SOURCES) $(psnup_SOURCES) \ $(psresize_SOURCES) $(psselect_SOURCES) $(pstops_SOURCES) man1dir = $(mandir)/man1 -manmdir = $(mandir)/manm NROFF = nroff -MANS = $(dist_man_MANS) $(man1_MANS) +MANS = $(dist_man1_MANS) $(nodist_man1_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -194,23 +193,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ OS = UNIX PAPER = a4 -CHMOD = chmod -BINMODE = +x AM_CPPFLAGS = -DUNIX -DPAPER=\"$(PAPER)\" -bin_SCRIPTS = getafm showchar \ - extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps \ - fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psmerge - -CLEANFILES = $(bin_SCRIPTS) -PERL = /usr/bin/env perl -MAKETEXT = $(PERL) $(srcdir)/maketext -man1_MANS = epsffit.1 psbook.1 psnup.1 psresize.1 psselect.1 pstops.1 \ - getafm.1 \ - extractres.1 fixdlsrps.man fixfmps.man fixmacps.man \ - fixpsditps.man fixpspps.man fixscribeps.man fixtpps.man \ - fixwfwps.man fixwpps.man fixwwps.man includeres.man psmerge.man - -dist_man_MANS = $(man1_MANS) epsffit_SOURCES = \ config.h \ epsffit.c \ @@ -262,15 +245,43 @@ pstops_SOURCES = \ psutil.c \ psutil.h - -# scripts. -EXTRA_DIST = LICENSE getafm.sh showchar.sh extractres.pl fixdlsrps.pl \ - fixfmps.pl fixmacps.pl fixpsditps.pl fixpspps.pl \ - fixscribeps.pl fixtpps.pl fixwfwps.pl fixwpps.pl fixwwps.pl \ - includeres.pl psmerge.pl Makefile.bcc Makefile.msc Makefile.nt \ - Makefile.os2 Makefile.sc Makefile.unix Makefile.wat \ - descrip.mms maketext md68_0.ps md71_0.ps Makefile.in.orig \ +EXTRA_DIST = LICENSE $(perl_scripts:=.pl) $(shell_scripts:=.sh) \ + $(nodist_man1_MANS:.1=.man) maketext Makefile.bcc Makefile.msc \ + Makefile.nt Makefile.os2 Makefile.sc Makefile.unix \ + Makefile.wat descrip.mms md68_0.ps md71_0.ps Makefile.in.orig \ configure.in.orig +perl_scripts = extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps \ + fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psmerge + +shell_scripts = getafm showchar +nodist_bin_SCRIPTS = $(perl_scripts) +dist_man1_MANS = \ + fixdlsrps.man \ + fixfmps.man \ + fixmacps.man \ + fixpsditps.man \ + fixpspps.man \ + fixscribeps.man \ + fixtpps.man \ + fixwfwps.man \ + fixwpps.man \ + fixwwps.man \ + getafm.man \ + includeres.man \ + psmerge.man + +nodist_man1_MANS = \ + epsffit.1\ + extractres.1 \ + psbook.1 \ + psnup.1 \ + psresize.1 \ + psselect.1 \ + pstops.1 + +CLEANFILES = $(nodist_bin_SCRIPTS) $(nodist_man1_MANS) +PERL = /usr/bin/env perl +MAKETEXT = $(PERL) $(srcdir)/maketext all: all-am .SUFFIXES: @@ -351,21 +362,21 @@ psselect$(EXEEXT): $(psselect_OBJECTS) $(psselect_DEPENDENCIES) pstops$(EXEEXT): $(pstops_OBJECTS) $(pstops_DEPENDENCIES) @rm -f pstops$(EXEEXT) $(LINK) $(pstops_OBJECTS) $(pstops_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) +install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; for p in $$list; do \ + @list='$(nodist_bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ + echo " $(nodist_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(nodist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done -uninstall-binSCRIPTS: +uninstall-nodist_binSCRIPTS: @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; for p in $$list; do \ + @list='$(nodist_bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ @@ -400,16 +411,10 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` -install-man1: $(man1_MANS) $(man_MANS) +install-man1: $(dist_man1_MANS) $(nodist_man1_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ - for i in $$l2; do \ - case "$$i" in \ - *.1*) list="$$list $$i" ;; \ - esac; \ - done; \ + @list='$(dist_man1_MANS) $(nodist_man1_MANS)'; \ for i in $$list; do \ if test -f $$i; then file=$$i; \ else file=$(srcdir)/$$i; fi; \ @@ -426,13 +431,7 @@ install-man1: $(man1_MANS) $(man_MANS) done uninstall-man1: @$(NORMAL_UNINSTALL) - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ - for i in $$l2; do \ - case "$$i" in \ - *.1*) list="$$list $$i" ;; \ - esac; \ - done; \ + @list='$(dist_man1_MANS) $(nodist_man1_MANS)'; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ @@ -445,51 +444,6 @@ uninstall-man1: echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done -install-manm: $(manm_MANS) $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(manmdir)" || $(MKDIR_P) "$(DESTDIR)$(manmdir)" - @list='$(manm_MANS) $(dist_manm_MANS) $(nodist_manm_MANS)'; \ - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ - for i in $$l2; do \ - case "$$i" in \ - *.m*) list="$$list $$i" ;; \ - esac; \ - done; \ - for i in $$list; do \ - if test -f $$i; then file=$$i; \ - else file=$(srcdir)/$$i; fi; \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - case "$$ext" in \ - m*) ;; \ - *) ext='m' ;; \ - esac; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ - inst=`echo $$inst | sed -e 's/^.*\///'`; \ - inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(manmdir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(manmdir)/$$inst"; \ - done -uninstall-manm: - @$(NORMAL_UNINSTALL) - @list='$(manm_MANS) $(dist_manm_MANS) $(nodist_manm_MANS)'; \ - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ - for i in $$l2; do \ - case "$$i" in \ - *.m*) list="$$list $$i" ;; \ - esac; \ - done; \ - for i in $$list; do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - case "$$ext" in \ - m*) ;; \ - *) ext='m' ;; \ - esac; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ - inst=`echo $$inst | sed -e 's/^.*\///'`; \ - inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " rm -f '$(DESTDIR)$(manmdir)/$$inst'"; \ - rm -f "$(DESTDIR)$(manmdir)/$$inst"; \ - done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -673,7 +627,7 @@ check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(manmdir)"; do \ + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am @@ -726,13 +680,15 @@ install-data-am: install-man install-dvi: install-dvi-am -install-exec-am: install-binPROGRAMS install-binSCRIPTS +install-exec-am: install-binPROGRAMS install-nodist_binSCRIPTS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-html: install-html-am install-info: install-info-am -install-man: install-man1 install-manm +install-man: install-man1 install-pdf: install-pdf-am @@ -759,11 +715,14 @@ ps: ps-am ps-am: -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man +uninstall-am: uninstall-binPROGRAMS uninstall-man \ + uninstall-nodist_binSCRIPTS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook -uninstall-man: uninstall-man1 uninstall-manm +uninstall-man: uninstall-man1 -.MAKE: install-am install-strip +.MAKE: install-am install-exec-am install-strip uninstall-am .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ @@ -771,25 +730,33 @@ uninstall-man: uninstall-man1 uninstall-manm distclean distclean-compile distclean-generic distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ - install-binSCRIPTS install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-hook install-html \ install-html-am install-info install-info-am install-man \ - install-man1 install-manm install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ + install-man1 install-nodist_binSCRIPTS install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-man uninstall-man1 uninstall-manm + uninstall-am uninstall-binPROGRAMS uninstall-hook \ + uninstall-man uninstall-man1 uninstall-nodist_binSCRIPTS + +install-exec-hook: + @for f in $(shell_scripts); do \ + echo "$(INSTALL_SCRIPT) '$(srcdir)/$$f.sh' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_SCRIPT) "$(srcdir)/$$f.sh" "$(DESTDIR)$(bindir)/$$f"; \ + done + +uninstall-hook: + @for f in $(shell_scripts); do \ + echo "rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done %: %.pl $(MAKETEXT) OS=$(OS) PERL="$(PERL)" $< >$@ -%: %.sh - cp $< $@ - $(CHMOD) $(BINMODE) $@ - %.1: %.man $(MAKETEXT) PAPER=$(PAPER) "MAN=$(man1_MANS)" $< >$@ # Tell versions [3.59,3.63) of GNU make to not export all variables. |