mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
PROGS -> SCRIPTS
This commit is contained in:
parent
0444a62da8
commit
cc59959cd7
20
Makefile.in
20
Makefile.in
@ -26,12 +26,11 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
MAKEINFO = makeinfo
|
||||
TEXI2DVI = texi2dvi
|
||||
M4 = @M4@
|
||||
PERL = @PERL@
|
||||
|
||||
# Programs that are always installed.
|
||||
APROGS = autoconf autoheader autoreconf autoupdate ifnames
|
||||
PROGS = $(APROGS) @PROGS@
|
||||
# Path of the perl interpreter.
|
||||
PERL = @PERL@
|
||||
ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames
|
||||
SCRIPTS = $(ASCRIPTS) @SCRIPTS@
|
||||
|
||||
transform=@program_transform_name@
|
||||
|
||||
@ -74,7 +73,7 @@ DISTFILES = COPYING ChangeLog ChangeLog.1 INSTALL \
|
||||
editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''M4''@,$(M4),g'
|
||||
editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g'
|
||||
|
||||
all: ${PROGS}
|
||||
all: ${SCRIPTS}
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .sh .pl
|
||||
@ -112,6 +111,7 @@ check: all
|
||||
test -r install-sh || cp $(srcdir)/install-sh .; \
|
||||
cd testsuite && ${MAKE} $@ AUTOCONF=$$rootme/autoconf \
|
||||
AUTOCONFFLAGS="-m $$srcrootme"
|
||||
|
||||
installcheck: all install
|
||||
cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
|
||||
|
||||
@ -126,7 +126,7 @@ install: all $(M4FILES) acconfig.h installdirs install-info
|
||||
*traditional*) ;; \
|
||||
*) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
|
||||
esac
|
||||
for p in $(APROGS); do \
|
||||
for p in $(ASCRIPTS); do \
|
||||
$(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
done
|
||||
for i in $(M4FILES) acconfig.h; do \
|
||||
@ -151,13 +151,15 @@ install-info: info installdirs
|
||||
done
|
||||
|
||||
uninstall:
|
||||
cd $(bindir) && rm -f $(PROGS)
|
||||
for p in $(SCRIPTS); do \
|
||||
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
done
|
||||
rm -fr $(acdatadir)
|
||||
cd $(infodir); rm -f autoconf.info*
|
||||
if test -f standards.info || test -f $(srcdir)/standards.info; \
|
||||
then cd $(infodir); rm -f standards.info*; fi
|
||||
|
||||
configure: configure.in $(M4FILES)
|
||||
${srcdir}/configure: configure.in $(M4FILES)
|
||||
cd $(srcdir); \
|
||||
rm -f $@ $@.tmp; \
|
||||
$(M4) autoconf.m4 configure.in > $@.tmp && \
|
||||
@ -174,7 +176,7 @@ clean mostlyclean distclean realclean::
|
||||
done
|
||||
|
||||
clean mostlyclean distclean realclean::
|
||||
rm -f $(PROGS) *.tmp
|
||||
rm -f $(SCRIPTS) *.tmp
|
||||
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
||||
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
|
||||
rm -f *.ev *.evs *.ov *.ovs *.cv *.cvs *.ma *.mas
|
||||
|
@ -12,9 +12,9 @@ AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
||||
dnl We use a path for perl so the #! line in autoscan will work.
|
||||
AC_PATH_PROG(PERL, perl, no)
|
||||
AC_SUBST(PERL)dnl
|
||||
AC_SUBST(PROGS)dnl
|
||||
AC_SUBST(SCRIPTS)dnl
|
||||
if test "$PERL" != no; then
|
||||
PROGS=autoscan
|
||||
SCRIPTS=autoscan
|
||||
else
|
||||
AC_MSG_WARN(autoscan will not be built since perl is not found)
|
||||
fi
|
||||
|
@ -26,12 +26,11 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
MAKEINFO = makeinfo
|
||||
TEXI2DVI = texi2dvi
|
||||
M4 = @M4@
|
||||
PERL = @PERL@
|
||||
|
||||
# Programs that are always installed.
|
||||
APROGS = autoconf autoheader autoreconf autoupdate ifnames
|
||||
PROGS = $(APROGS) @PROGS@
|
||||
# Path of the perl interpreter.
|
||||
PERL = @PERL@
|
||||
ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames
|
||||
SCRIPTS = $(ASCRIPTS) @SCRIPTS@
|
||||
|
||||
transform=@program_transform_name@
|
||||
|
||||
@ -74,7 +73,7 @@ DISTFILES = COPYING ChangeLog ChangeLog.1 INSTALL \
|
||||
editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''M4''@,$(M4),g'
|
||||
editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g'
|
||||
|
||||
all: ${PROGS}
|
||||
all: ${SCRIPTS}
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .sh .pl
|
||||
@ -112,6 +111,7 @@ check: all
|
||||
test -r install-sh || cp $(srcdir)/install-sh .; \
|
||||
cd testsuite && ${MAKE} $@ AUTOCONF=$$rootme/autoconf \
|
||||
AUTOCONFFLAGS="-m $$srcrootme"
|
||||
|
||||
installcheck: all install
|
||||
cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
|
||||
|
||||
@ -126,7 +126,7 @@ install: all $(M4FILES) acconfig.h installdirs install-info
|
||||
*traditional*) ;; \
|
||||
*) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
|
||||
esac
|
||||
for p in $(APROGS); do \
|
||||
for p in $(ASCRIPTS); do \
|
||||
$(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
done
|
||||
for i in $(M4FILES) acconfig.h; do \
|
||||
@ -151,13 +151,15 @@ install-info: info installdirs
|
||||
done
|
||||
|
||||
uninstall:
|
||||
cd $(bindir) && rm -f $(PROGS)
|
||||
for p in $(SCRIPTS); do \
|
||||
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
done
|
||||
rm -fr $(acdatadir)
|
||||
cd $(infodir); rm -f autoconf.info*
|
||||
if test -f standards.info || test -f $(srcdir)/standards.info; \
|
||||
then cd $(infodir); rm -f standards.info*; fi
|
||||
|
||||
configure: configure.in $(M4FILES)
|
||||
${srcdir}/configure: configure.in $(M4FILES)
|
||||
cd $(srcdir); \
|
||||
rm -f $@ $@.tmp; \
|
||||
$(M4) autoconf.m4 configure.in > $@.tmp && \
|
||||
@ -174,7 +176,7 @@ clean mostlyclean distclean realclean::
|
||||
done
|
||||
|
||||
clean mostlyclean distclean realclean::
|
||||
rm -f $(PROGS) *.tmp
|
||||
rm -f $(SCRIPTS) *.tmp
|
||||
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
||||
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
|
||||
rm -f *.ev *.evs *.ov *.ovs *.cv *.cvs *.ma *.mas
|
||||
|
Loading…
Reference in New Issue
Block a user