Move some scripts from the top level src dir to a scripts dir.
This commit is contained in:
11
MANIFEST
11
MANIFEST
@@ -272,7 +272,6 @@ lib/zlib/zlib.exp
|
|||||||
lib/zlib/zlib.h
|
lib/zlib/zlib.h
|
||||||
lib/zlib/zutil.c
|
lib/zlib/zutil.c
|
||||||
lib/zlib/zutil.h
|
lib/zlib/zutil.h
|
||||||
log2cl.pl
|
|
||||||
logsrvd/Makefile.in
|
logsrvd/Makefile.in
|
||||||
logsrvd/eventlog.c
|
logsrvd/eventlog.c
|
||||||
logsrvd/iolog_writer.c
|
logsrvd/iolog_writer.c
|
||||||
@@ -295,9 +294,6 @@ m4/ltsugar.m4
|
|||||||
m4/ltversion.m4
|
m4/ltversion.m4
|
||||||
m4/lt~obsolete.m4
|
m4/lt~obsolete.m4
|
||||||
m4/sudo.m4
|
m4/sudo.m4
|
||||||
mkdep.pl
|
|
||||||
mkinstalldirs
|
|
||||||
mkpkg
|
|
||||||
pathnames.h.in
|
pathnames.h.in
|
||||||
plugins/audit_json/Makefile.in
|
plugins/audit_json/Makefile.in
|
||||||
plugins/audit_json/audit_json.c
|
plugins/audit_json/audit_json.c
|
||||||
@@ -853,7 +849,12 @@ po/zh_CN.mo
|
|||||||
po/zh_CN.po
|
po/zh_CN.po
|
||||||
po/zh_TW.mo
|
po/zh_TW.mo
|
||||||
po/zh_TW.po
|
po/zh_TW.po
|
||||||
pp
|
scripts/generate_test_coverage.sh
|
||||||
|
scripts/log2cl.pl
|
||||||
|
scripts/mkdep.pl
|
||||||
|
scripts/mkinstalldirs
|
||||||
|
scripts/mkpkg
|
||||||
|
scripts/pp
|
||||||
src/Makefile.in
|
src/Makefile.in
|
||||||
src/conversation.c
|
src/conversation.c
|
||||||
src/env_hooks.c
|
src/env_hooks.c
|
||||||
|
11
Makefile.in
11
Makefile.in
@@ -23,6 +23,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
|
|
||||||
# Installation paths for package building
|
# Installation paths for package building
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
@@ -200,7 +201,7 @@ siglist.c signame.c:
|
|||||||
cd lib/util && exec $(MAKE) $@
|
cd lib/util && exec $(MAKE) $@
|
||||||
|
|
||||||
depend: siglist.c signame.c
|
depend: siglist.c signame.c
|
||||||
$(top_srcdir)/mkdep.pl \
|
$(scriptdir)/mkdep.pl \
|
||||||
--srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) \
|
--srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) \
|
||||||
lib/util/Makefile.in lib/zlib/Makefile.in \
|
lib/util/Makefile.in lib/zlib/Makefile.in \
|
||||||
lib/iolog/Makefile.in lib/logsrv/Makefile.in logsrvd/Makefile.in \
|
lib/iolog/Makefile.in lib/logsrv/Makefile.in logsrvd/Makefile.in \
|
||||||
@@ -228,7 +229,7 @@ ChangeLog:
|
|||||||
rm -f $@.tmp; \
|
rm -f $@.tmp; \
|
||||||
fi; \
|
fi; \
|
||||||
elif test -d $(srcdir)/.git && cd $(srcdir); then \
|
elif test -d $(srcdir)/.git && cd $(srcdir); then \
|
||||||
./log2cl.pl -b master > $@; \
|
$(scriptdir)/log2cl.pl -b master > $@; \
|
||||||
else \
|
else \
|
||||||
echo "ChangeLog data not available" > $@; \
|
echo "ChangeLog data not available" > $@; \
|
||||||
fi
|
fi
|
||||||
@@ -261,7 +262,7 @@ update-pot:
|
|||||||
sudo) tmpfiles=; cfiles="src/*.c lib/util/*.c";; \
|
sudo) tmpfiles=; cfiles="src/*.c lib/util/*.c";; \
|
||||||
sudoers) \
|
sudoers) \
|
||||||
echo "gettext \"syntax error\"" > confstr.sh; \
|
echo "gettext \"syntax error\"" > confstr.sh; \
|
||||||
$(SED) -n 's/^.*--with-passprompt=\(.*\)$$/gettext \"\1\"/p' mkpkg | sort -u >> confstr.sh; \
|
$(SED) -n 's/^.*--with-passprompt=\(.*\)$$/gettext \"\1\"/p' $(scriptdir)/mkpkg | sort -u >> confstr.sh; \
|
||||||
$(SED) -n -e 's/^badpass_message="/gettext "/p' \
|
$(SED) -n -e 's/^badpass_message="/gettext "/p' \
|
||||||
-e 's/^passprompt="/gettext "/p' \
|
-e 's/^passprompt="/gettext "/p' \
|
||||||
-e 's/^mailsub="/gettext "/p' configure.ac \
|
-e 's/^mailsub="/gettext "/p' configure.ac \
|
||||||
@@ -333,7 +334,7 @@ install-nls:
|
|||||||
for lang in $$SUDO_LINGUAS; do \
|
for lang in $$SUDO_LINGUAS; do \
|
||||||
test -s $$podir/$$lang.mo || continue; \
|
test -s $$podir/$$lang.mo || continue; \
|
||||||
echo $(ECHO_N) " $$lang$(ECHO_C)"; \
|
echo $(ECHO_N) " $$lang$(ECHO_C)"; \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
|
||||||
if test -n "$(LOCALEDIR_SUFFIX)"; then \
|
if test -n "$(LOCALEDIR_SUFFIX)"; then \
|
||||||
if test ! -d $(DESTDIR)$(localedir)/$$lang$(LOCALEDIR_SUFFIX); then \
|
if test ! -d $(DESTDIR)$(localedir)/$$lang$(LOCALEDIR_SUFFIX); then \
|
||||||
ln -s $$lang $(DESTDIR)$(localedir)/$$lang$(LOCALEDIR_SUFFIX); \
|
ln -s $$lang $(DESTDIR)$(localedir)/$$lang$(LOCALEDIR_SUFFIX); \
|
||||||
@@ -370,7 +371,7 @@ force-dist: ChangeLog $(srcdir)/MANIFEST
|
|||||||
package: $(srcdir)/etc/sudo.pp
|
package: $(srcdir)/etc/sudo.pp
|
||||||
DESTDIR=$(abs_top_builddir)/destdir; rm -rf $$DESTDIR; \
|
DESTDIR=$(abs_top_builddir)/destdir; rm -rf $$DESTDIR; \
|
||||||
$(MAKE) install INSTALL_OWNER= DESTDIR=$$DESTDIR && \
|
$(MAKE) install INSTALL_OWNER= DESTDIR=$$DESTDIR && \
|
||||||
$(SHELL) $(srcdir)/pp $(PPFLAGS) \
|
$(SHELL) $(scriptdir)/pp $(PPFLAGS) \
|
||||||
--destdir=$$DESTDIR \
|
--destdir=$$DESTDIR \
|
||||||
$(srcdir)/etc/sudo.pp \
|
$(srcdir)/etc/sudo.pp \
|
||||||
prefix=$(prefix) \
|
prefix=$(prefix) \
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
docdir = @docdir@
|
docdir = @docdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
|
|
||||||
# Tools to use
|
# Tools to use
|
||||||
SED = @SED@
|
SED = @SED@
|
||||||
@@ -341,7 +342,7 @@ pre-install:
|
|||||||
install: install-doc
|
install: install-doc
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir) \
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(docdir) \
|
||||||
$(DESTDIR)$(mandirexe) $(DESTDIR)$(mandirform) $(DESTDIR)$(mandirsu)
|
$(DESTDIR)$(mandirexe) $(DESTDIR)$(mandirform) $(DESTDIR)$(mandirsu)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
@@ -28,6 +28,7 @@ top_builddir = @top_builddir@
|
|||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
exampledir = @exampledir@
|
exampledir = @exampledir@
|
||||||
docdir = @docdir@
|
docdir = @docdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
|
|
||||||
# Our install program supports extra flags...
|
# Our install program supports extra flags...
|
||||||
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
||||||
@@ -72,7 +73,7 @@ pre-install:
|
|||||||
install: install-doc
|
install: install-doc
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(exampledir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(exampledir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
# Our install program supports extra flags...
|
# Our install program supports extra flags...
|
||||||
@@ -65,7 +66,7 @@ pre-install:
|
|||||||
install: install-includes
|
install: install-includes
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(includedir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -28,6 +28,7 @@ top_builddir = @top_builddir@
|
|||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
@@ -103,7 +104,7 @@ pvs-studio: $(POBJS)
|
|||||||
plog-converter $(PVS_LOG_OPTS) $(POBJS)
|
plog-converter $(PVS_LOG_OPTS) $(POBJS)
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) lib/iolog/Makefile.in
|
--builddir=$(abs_top_builddir) lib/iolog/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file lib/iolog/Makefile
|
cd $(top_builddir) && ./config.status --file lib/iolog/Makefile
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
@@ -88,7 +89,7 @@ pvs-studio: $(POBJS)
|
|||||||
plog-converter $(PVS_LOG_OPTS) $(POBJS)
|
plog-converter $(PVS_LOG_OPTS) $(POBJS)
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) lib/logsrv/Makefile.in
|
--builddir=$(abs_top_builddir) lib/logsrv/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file lib/logsrv/Makefile
|
cd $(top_builddir) && ./config.status --file lib/logsrv/Makefile
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -174,7 +175,7 @@ pvs-studio: $(POBJS)
|
|||||||
plog-converter $(PVS_LOG_OPTS) $(POBJS)
|
plog-converter $(PVS_LOG_OPTS) $(POBJS)
|
||||||
|
|
||||||
depend: siglist.c signame.c
|
depend: siglist.c signame.c
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) lib/util/Makefile.in
|
--builddir=$(abs_top_builddir) lib/util/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file lib/util/Makefile
|
cd $(top_builddir) && ./config.status --file lib/util/Makefile
|
||||||
|
|
||||||
@@ -293,7 +294,7 @@ install: install-dirs
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)/sudo
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(libexecdir)/sudo
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@ top_srcdir = @top_srcdir@
|
|||||||
abs_top_srcdir = @abs_top_srcdir@
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
# Where to install things...
|
# Where to install things...
|
||||||
@@ -99,7 +100,7 @@ LTOBJS = adler32.lo compress.lo crc32.lo deflate.lo gzclose.lo gzlib.lo \
|
|||||||
all: libsudo_z.la
|
all: libsudo_z.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) lib/zlib/Makefile.in
|
--builddir=$(abs_top_builddir) lib/zlib/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file lib/zlib/Makefile
|
cd $(top_builddir) && ./config.status --file lib/zlib/Makefile
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
rundir = @rundir@
|
rundir = @rundir@
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
@@ -123,7 +124,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: $(PROGS)
|
all: $(PROGS)
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) logsrvd/Makefile.in
|
--builddir=$(abs_top_builddir) logsrvd/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file logsrvd/Makefile
|
cd $(top_builddir) && ./config.status --file logsrvd/Makefile
|
||||||
|
|
||||||
@@ -155,7 +156,7 @@ pre-install:
|
|||||||
install: install-binaries
|
install: install-binaries
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(sbindir)
|
||||||
|
|
||||||
install-binaries: install-dirs $(PROGS)
|
install-binaries: install-dirs $(PROGS)
|
||||||
INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 sudo_logsrvd $(DESTDIR)$(sbindir)/sudo_logsrvd
|
INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 sudo_logsrvd $(DESTDIR)$(sbindir)/sudo_logsrvd
|
||||||
|
@@ -24,6 +24,7 @@ srcdir = @srcdir@
|
|||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -117,7 +118,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: audit_json.la
|
all: audit_json.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(top_srcdir) \
|
||||||
--builddir=`pwd`/$(top_builddir) plugins/audit_json/Makefile.in
|
--builddir=`pwd`/$(top_builddir) plugins/audit_json/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/audit_json/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/audit_json/Makefile
|
||||||
|
|
||||||
@@ -149,7 +150,7 @@ pre-install:
|
|||||||
install: install-plugin
|
install: install-plugin
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -120,7 +121,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: group_file.la
|
all: group_file.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) plugins/group_file/Makefile.in
|
--builddir=$(abs_top_builddir) plugins/group_file/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/group_file/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/group_file/Makefile
|
||||||
|
|
||||||
@@ -152,7 +153,7 @@ pre-install:
|
|||||||
install: install-plugin
|
install: install-plugin
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -29,6 +29,7 @@ abs_top_builddir = @abs_top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
abs_top_srcdir = @abs_top_srcdir@
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -134,7 +135,7 @@ CHECK_PYTHON_EXAMPLES_OBJS = check_python_examples.o iohelpers.o testhelpers.o
|
|||||||
all: python_plugin.la
|
all: python_plugin.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) plugins/python/Makefile.in
|
--builddir=$(abs_top_builddir) plugins/python/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/python/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/python/Makefile
|
||||||
|
|
||||||
@@ -169,7 +170,7 @@ pre-install:
|
|||||||
install: install-plugin install-doc
|
install: install-plugin install-doc
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir) $(DESTDIR)$(exampledir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir) $(DESTDIR)$(exampledir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -115,7 +116,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: sample_plugin.la
|
all: sample_plugin.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) plugins/sample/Makefile.in
|
--builddir=$(abs_top_builddir) plugins/sample/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/sample/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/sample/Makefile
|
||||||
|
|
||||||
@@ -147,7 +148,7 @@ pre-install:
|
|||||||
install: install-plugin
|
install: install-plugin
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -24,6 +24,7 @@ srcdir = @srcdir@
|
|||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -117,7 +118,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: sample_approval.la
|
all: sample_approval.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(top_srcdir) \
|
||||||
--builddir=`pwd`/$(top_builddir) plugins/sample_approval/Makefile.in
|
--builddir=`pwd`/$(top_builddir) plugins/sample_approval/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/sample_approval/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/sample_approval/Makefile
|
||||||
|
|
||||||
@@ -149,7 +150,7 @@ pre-install:
|
|||||||
install: install-plugin
|
install: install-plugin
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -32,6 +32,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
authdir = $(srcdir)/auth
|
authdir = $(srcdir)/auth
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
docdir = @docdir@
|
docdir = @docdir@
|
||||||
@@ -261,7 +262,7 @@ $(shlib_opt): $(shlib_exp)
|
|||||||
@true
|
@true
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) plugins/sudoers/Makefile.in
|
--builddir=$(abs_top_builddir) plugins/sudoers/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/sudoers/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/sudoers/Makefile
|
||||||
|
|
||||||
@@ -392,7 +393,7 @@ pre-install:
|
|||||||
install: install-plugin install-binaries install-sudoers install-doc
|
install: install-plugin install-binaries install-sudoers install-doc
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir) \
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir) \
|
||||||
$(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) \
|
$(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) \
|
||||||
$(DESTDIR)$(sudoersdir) $(DESTDIR)$(docdir) \
|
$(DESTDIR)$(sudoersdir) $(DESTDIR)$(docdir) \
|
||||||
`echo $(DESTDIR)$(rundir)|$(SED) 's,/[^/]*$$,,'` \
|
`echo $(DESTDIR)$(rundir)|$(SED) 's,/[^/]*$$,,'` \
|
||||||
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
|
|
||||||
@@ -120,7 +121,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: system_group.la
|
all: system_group.la
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) plugins/system_group/Makefile.in
|
--builddir=$(abs_top_builddir) plugins/system_group/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file plugins/system_group/Makefile
|
cd $(top_builddir) && ./config.status --file plugins/system_group/Makefile
|
||||||
|
|
||||||
@@ -152,7 +153,7 @@ pre-install:
|
|||||||
install: install-plugin
|
install: install-plugin
|
||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir)
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
|
|
||||||
|
@@ -88,9 +88,10 @@ while test $# -gt 0; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
top_srcdir=`dirname $0`
|
scriptdir=`dirname $0`
|
||||||
|
configure="${scriptdir}/../configure"
|
||||||
|
|
||||||
: ${osversion="`$top_srcdir/pp --probe`"}
|
: ${osversion="`$scriptdir/pp --probe`"}
|
||||||
test -n "$osversion" || exit 1
|
test -n "$osversion" || exit 1
|
||||||
osrelease=`echo "$osversion" | sed -e 's/^[^0-9]*//' -e 's/-.*$//'`
|
osrelease=`echo "$osversion" | sed -e 's/^[^0-9]*//' -e 's/-.*$//'`
|
||||||
: ${MAKE=make}
|
: ${MAKE=make}
|
||||||
@@ -317,7 +318,7 @@ case "$osversion" in
|
|||||||
ARCH_FLAGS="-arch i386 -arch x86_64"
|
ARCH_FLAGS="-arch i386 -arch x86_64"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test "${osversion}" != "`$top_srcdir/pp --probe`"; then
|
if test "${osversion}" != "`$scriptdir/pp --probe`"; then
|
||||||
sdkvers=`echo "${osversion}" | sed 's/^macos\([0-9][0-9]\)\([0-9]*\)-.*$/\1.\2/'`
|
sdkvers=`echo "${osversion}" | sed 's/^macos\([0-9][0-9]\)\([0-9]*\)-.*$/\1.\2/'`
|
||||||
# SDKs may be under Xcode.app or CommandLineTools (for non-Xcode)
|
# SDKs may be under Xcode.app or CommandLineTools (for non-Xcode)
|
||||||
if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs" ]; then
|
if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs" ]; then
|
||||||
@@ -413,6 +414,6 @@ IFS="$OIFS"
|
|||||||
if [ -r Makefile ]; then
|
if [ -r Makefile ]; then
|
||||||
${MAKE} $make_opts distclean
|
${MAKE} $make_opts distclean
|
||||||
fi
|
fi
|
||||||
$top_srcdir/configure "$@" || exit 1
|
${configure} "$@" || exit 1
|
||||||
${MAKE} $make_opts && ${MAKE} $make_opts PPFLAGS="$PPFLAGS" PPVARS="$PPVARS" package
|
${MAKE} $make_opts && ${MAKE} $make_opts PPFLAGS="$PPFLAGS" PPVARS="$PPVARS" package
|
||||||
test $debug -eq 0 && rm -rf destdir
|
test $debug -eq 0 && rm -rf destdir
|
@@ -27,6 +27,7 @@ abs_top_srcdir = @abs_top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
devdir = @devdir@
|
devdir = @devdir@
|
||||||
|
scriptdir = $(top_srcdir)/scripts
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
rundir = @rundir@
|
rundir = @rundir@
|
||||||
cross_compiling = @CROSS_COMPILING@
|
cross_compiling = @CROSS_COMPILING@
|
||||||
@@ -144,7 +145,7 @@ VERSION = @PACKAGE_VERSION@
|
|||||||
all: $(PROGS)
|
all: $(PROGS)
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(top_srcdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
$(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \
|
||||||
--builddir=$(abs_top_builddir) src/Makefile.in
|
--builddir=$(abs_top_builddir) src/Makefile.in
|
||||||
cd $(top_builddir) && ./config.status --file src/Makefile
|
cd $(top_builddir) && ./config.status --file src/Makefile
|
||||||
|
|
||||||
@@ -196,16 +197,16 @@ install: install-binaries install-rc @INSTALL_NOEXEC@
|
|||||||
|
|
||||||
install-dirs:
|
install-dirs:
|
||||||
# We only create the rc.d dir when installing to the actual system dir
|
# We only create the rc.d dir when installing to the actual system dir
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(bindir) \
|
||||||
$(DESTDIR)$(libexecdir)/sudo $(DESTDIR)$(noexecdir)
|
$(DESTDIR)$(libexecdir)/sudo $(DESTDIR)$(noexecdir)
|
||||||
if test -n "$(INIT_SCRIPT)"; then \
|
if test -n "$(INIT_SCRIPT)"; then \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(INIT_DIR); \
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(INIT_DIR); \
|
||||||
if test -z "$(DESTDIR)"; then \
|
if test -z "$(DESTDIR)"; then \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs \
|
$(SHELL) $(scriptdir)/mkinstalldirs \
|
||||||
`echo $(RC_LINK) | $(SED) 's,/[^/]*$$,,'`; \
|
`echo $(RC_LINK) | $(SED) 's,/[^/]*$$,,'`; \
|
||||||
fi; \
|
fi; \
|
||||||
elif test -n "$(tmpfiles_d)"; then \
|
elif test -n "$(tmpfiles_d)"; then \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(tmpfiles_d); \
|
$(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(tmpfiles_d); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install-rc: install-dirs
|
install-rc: install-dirs
|
||||||
|
Reference in New Issue
Block a user