mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Add support for "make Makefile" to regenerate Makefile from Makefile.in
This commit is contained in:
parent
d2596e3f7b
commit
f8de3f6327
@ -83,6 +83,9 @@ config.status:
|
||||
libtool: $(LIBTOOL_DEPS)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
./config.status --file Makefile
|
||||
|
||||
dist: ChangeLog $(srcdir)/MANIFEST
|
||||
pax -w -x ustar -s '/^/$(PACKAGE_TARNAME)-$(VERSION)\//' \
|
||||
-f ../$(PACKAGE_TARNAME)-$(VERSION).tar \
|
||||
|
@ -47,6 +47,9 @@ LTOBJS = alloc.lo atobool.lo fileops.lo fmt_string.lo \
|
||||
|
||||
all: libcommon.la
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file common/Makefile)
|
||||
|
||||
.SUFFIXES: .c .h .lo
|
||||
|
||||
.c.lo:
|
||||
|
@ -48,6 +48,9 @@ LTLIBOBJS = @LTLIBOBJS@
|
||||
|
||||
all: libreplace.la
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file compat/Makefile)
|
||||
|
||||
.SUFFIXES: .o .c .h .lo
|
||||
|
||||
.c.lo:
|
||||
|
@ -73,6 +73,9 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
|
||||
all: $(DEVDOCS) $(DOCS)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file doc/Makefile)
|
||||
|
||||
.SUFFIXES: .man
|
||||
|
||||
@DEV@varsub: $(top_srcdir)/configure.in
|
||||
|
@ -41,6 +41,9 @@ SHELL = @SHELL@
|
||||
|
||||
all:
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file include/Makefile)
|
||||
|
||||
.SUFFIXES: .h
|
||||
|
||||
install: install-dirs install-includes
|
||||
|
@ -69,6 +69,9 @@ VERSION = @PACKAGE_VERSION@
|
||||
|
||||
all: sample_plugin.la
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file plugins/sample/Makefile)
|
||||
|
||||
.SUFFIXES: .o .c .h .lo
|
||||
|
||||
.c.lo:
|
||||
|
@ -69,6 +69,9 @@ VERSION = @PACKAGE_VERSION@
|
||||
|
||||
all: sample_group.la
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file plugins/sample_group/Makefile)
|
||||
|
||||
.SUFFIXES: .o .c .h .lo
|
||||
|
||||
.c.lo:
|
||||
|
@ -129,6 +129,9 @@ INSDEP = $(srcdir)/ins_2001.h $(srcdir)/ins_classic.h $(srcdir)/ins_csops.h \
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file plugins/sudoers/Makefile)
|
||||
|
||||
.SUFFIXES: .o .c .h .l .y .lo
|
||||
|
||||
.c.o:
|
||||
@ -142,6 +145,9 @@ all: $(PROGS)
|
||||
|
||||
.y.c:
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file plugins/sudoers/Makefile)
|
||||
|
||||
libsudoers.la: $(LIBSUDOERS_OBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBSUDOERS_OBJS) -no-install
|
||||
|
||||
|
@ -83,6 +83,9 @@ SUDODEP = $(srcdir)/sudo.h $(incdir)/sudo_plugin.h $(incdir)/alloc.h \
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file src/Makefile)
|
||||
|
||||
.SUFFIXES: .c .h .lo .o
|
||||
|
||||
.c.o:
|
||||
|
@ -46,6 +46,9 @@ LTOBJS = adler32.lo compress.lo crc32.lo deflate.lo gzclose.lo gzlib.lo \
|
||||
|
||||
all: libz.la
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
(cd $(top_builddir) && ./config.status --file zlib/Makefile)
|
||||
|
||||
.SUFFIXES: .c .h .lo
|
||||
|
||||
.c.lo:
|
||||
|
Loading…
x
Reference in New Issue
Block a user