diff --git a/Makefile b/Makefile index d7eaee1..d656c2f 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ distcheck: dist cd "$(PACKAGE)-$(VERSION)" && $(MAKE) dist $(RM) -r -- $(PACKAGE)-$(VERSION) -install: +install: all @for i in $(SUBDIRS); do (cd "$$i" && \ if [ -n "$(OBJDIR)" ]; then \ $(MAKE) OBJDIR="$(OBJDIR)$$i/" install; \ diff --git a/data/Makefile b/data/Makefile index 1d70735..2b63bd3 100644 --- a/data/Makefile +++ b/data/Makefile @@ -28,7 +28,7 @@ distclean: $(MAKE) OBJDIR="$(OBJDIR)$$i/" distclean; \ else $(MAKE) distclean; fi) || exit; done -install: +install: all @for i in $(SUBDIRS); do (cd "$$i" && \ if [ -n "$(OBJDIR)" ]; then \ $(MAKE) OBJDIR="$(OBJDIR)$$i/" install; \ diff --git a/data/platform/Makefile b/data/platform/Makefile index d8f8dda..7574932 100644 --- a/data/platform/Makefile +++ b/data/platform/Makefile @@ -12,7 +12,7 @@ clean: distclean: clean -install: +install: all $(MKDIR) $(DESTDIR)$(PREFIX)/share/configure/platform $(INSTALL) -m 0644 Darwin.conf $(DESTDIR)$(PREFIX)/share/configure/platform/Darwin.conf $(MKDIR) $(DESTDIR)$(PREFIX)/share/configure/platform diff --git a/doc/Makefile b/doc/Makefile index b3a4cf1..ef4a697 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -53,7 +53,7 @@ distclean: ./scripts/docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)project.conf.html" $(RM) -- $(TARGETS) -install: $(TARGETS) +install: all @for i in $(SUBDIRS); do (cd "$$i" && \ if [ -n "$(OBJDIR)" ]; then \ $(MAKE) OBJDIR="$(OBJDIR)$$i/" install; \ diff --git a/doc/scripts/Makefile b/doc/scripts/Makefile index 0174109..bba0609 100644 --- a/doc/scripts/Makefile +++ b/doc/scripts/Makefile @@ -12,7 +12,7 @@ clean: distclean: clean -install: +install: all $(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/configure/scripts $(INSTALL) -m 0644 appbroker.sh $(DESTDIR)$(PREFIX)/share/doc/configure/scripts/appbroker.sh $(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/configure/scripts diff --git a/src/Makefile b/src/Makefile index 7389c8b..698cd6f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -61,7 +61,7 @@ clean: distclean: clean $(RM) -- $(TARGETS) -install: $(TARGETS) +install: all $(MKDIR) $(DESTDIR)$(BINDIR) $(INSTALL) -m 0755 $(OBJDIR)configure$(EXEEXT) $(DESTDIR)$(BINDIR)/configure$(EXEEXT) diff --git a/tests/Makefile b/tests/Makefile index 84095a4..86e56b9 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -48,7 +48,7 @@ clean: distclean: clean $(RM) -- $(TARGETS) -install: $(TARGETS) +install: all uninstall: diff --git a/tools/Makefile b/tools/Makefile index 340af28..eef5e4f 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -45,7 +45,7 @@ clean: distclean: clean $(RM) -- $(TARGETS) -install: $(TARGETS) +install: all uninstall: