From ba30ceeb705e9b4d40ce0d98f6a4e047d47ce919 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Sun, 21 Sep 2008 15:54:12 +0000 Subject: moved all modules source to src subdirectory.. Moved header files into include subdirectory cleaned up makefiles. --- contrib/Makefile.in | 53 +++++------------------------------------------------ 1 file changed, 5 insertions(+), 48 deletions(-) (limited to 'contrib') diff --git a/contrib/Makefile.in b/contrib/Makefile.in index b384fd0..c2bd203 100644 --- a/contrib/Makefile.in +++ b/contrib/Makefile.in @@ -17,60 +17,17 @@ STD_DIST = Makefile.in DISTFILES = $(STD_DIST) $(EXTRA_DIST) -all: all-subdirs +all: -all-subdirs install-subdirs update-subdirs clean-subdirs distclean-subdirs: - @otarget=`echo $@|sed s/-subdirs//`; \ - list=' $(SUBDIRS)'; \ - for i in $$list; do \ - if test -d "$$i"; then \ - target="$$otarget"; \ - echo "Making $$target in $$i"; \ - if test "$$i" = "."; then \ - made_local=yes; \ - target="local-$$target"; \ - fi; \ - (cd $$i && $(MAKE) $$target) || exit 1; \ - fi; \ - done; \ +install: -include: - rm -rf include - ln -s @APACHE_INCDIR@ include +update: -install: install-subdirs +clean: -update: update-subdirs - -clean: clean-subdirs - -distclean: clean distclean-subdirs +distclean: clean $(RM) Makefile -DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@ -DESTTGZ = $(DESTDIR).tar.gz -dist: - @rm -rf $(DESTDIR); \ - list=' $(SUBDIRS)'; \ - for i in $$list; do \ - if test -d "$$i"; then \ - target=local-dist; \ - echo "Making $$target in $$i"; \ - if test "$$i" = "."; then \ - made_local=yes; \ - target="local-dist"; \ - fi; \ - NEWDESTDIR=$(builddir)/$(DESTDIR)/$$i; \ - echo $(NEWDESTDIR); \ - (cd $$i && $(MAKE) DESTDIR=$(builddir)/$(DESTDIR)/$$i $$target) || exit 1; \ - fi; \ - done; - if test "$$made_local" != "yes"; then \ - $(MAKE) "local-dist" || exit 1; \ - fi - tar -zcf $(DESTTGZ) $(DESTDIR) - rm -rf $(DESTDIR) - local-dist: $(DISTFILES) mkdir -p $(DESTDIR) cp -dp --parents $(DISTFILES) $(DESTDIR) -- cgit