From: Joe Z. <jz...@us...> - 2002-12-01 03:14:40
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv1550 Modified Files: Makefile.am Makefile.in Log Message: Added more targets and tried to improve compatability. Index: Makefile.am =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile.am 29 Sep 2002 01:59:38 -0000 1.6 --- Makefile.am 1 Dec 2002 03:14:37 -0000 1.7 *************** *** 1,3 **** ! # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # auto makefile for the top-level bobs program --- 1,3 ---- ! ## Process this file with automake to produce Makefile.in # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # auto makefile for the top-level bobs program *************** *** 5,16 **** ## The '##' comments will not appear in the Makefile ## Created June 2002, Joe Zacky # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - ## I want 'make clean' to remove the cached options to ./configure - - CLEANFILES = config.cache \ - cron/backup.php \ - inc/config.php - # Install these directories and files in the html dir. ## Any new directories or files to be included in the --- 5,16 ---- ## The '##' comments will not appear in the Makefile ## Created June 2002, Joe Zacky + ## + ## 11-30-2002 Joe Zacky + ## Added maintainer-clean section to remove all files for + ## a fresh build. + ## This is how I am currently building it: + ## aclocal;automake --add-missing;autoconf;./configure # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Install these directories and files in the html dir. ## Any new directories or files to be included in the *************** *** 20,23 **** --- 20,24 ---- images images/bar images/menu \ inc inc/excludes inc/servers \ + inc/templates \ js winc *************** *** 33,52 **** inc/excludes/default.excludelist \ inc/servers/*.ini \ js/*.js \ winc/*.php \ winc/*.html install-data-local: ! # ! # This section contains things to do during 'make install' ! # ! # Create html documents directory ./mkinstalldirs $(myWEBDIR) ! # Create the html directories in the location ! # specified by '--with-webdir=DIR' for dir in $(HTMLDIRS); do \ --- 34,73 ---- inc/excludes/default.excludelist \ inc/servers/*.ini \ + inc/templates/*.php \ + inc/templates/*.sh \ js/*.js \ winc/*.php \ winc/*.html + # + # Other files to be removed for maintainer (me) + # + + MAINTAINERCLEANFILES = \ + configure \ + Makefile.in \ + mkinstalldirs \ + missing \ + install-sh \ + aclocal.m4 + + cvs-clean: distclean + rm -rf auto*.cache + + maintainer-clean-local: + rm -rf auto*.cache + install-data-local: ! # ! # This section contains things to do during 'make install' ! # ! # Create html documents directory ./mkinstalldirs $(myWEBDIR) ! # Create the html directories in the location ! # specified by '--with-webdir=DIR' for dir in $(HTMLDIRS); do \ *************** *** 54,68 **** done ! # Copy the html documents to their final destination for file in $(HTMLDOCS); do \ ! cp $$file $(myWEBDIR)/$$file; \ done ! # backup.php must be executable ! chmod 755 $(myWEBDIR)/cron/backup.php ! # Create bobs data directories ./mkinstalldirs $(myBOBSDATA) --- 75,89 ---- done ! # Copy the html documents to their final destination for file in $(HTMLDOCS); do \ ! $(INSTALL_PROGRAM) $$file $(myWEBDIR)/$$file; \ done ! # Put a link to backup.php in /etc/cron.daily ! ln -s $(myWEBDIR)/cron/backup.php /etc/cron.daily/backup.php ! # Create bobs data directories ./mkinstalldirs $(myBOBSDATA) *************** *** 73,101 **** ./mkinstalldirs $(myBOBSDATA)/current/process/session ! # httpd process must be able to write to bobs data dirs ! # and some html directories, ! # so make the httpd process own the directory if test -n "$(myHTTPDUSER)"; then \ ! chown $(myHTTPDUSER) $(myBOBSDATA); \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process; \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process/cmd; \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process/mounts; \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process/session; \ ! chown $(myHTTPDUSER) $(myWEBDIR)/inc/servers; \ fi ! # Install command processing program ! cp bash/cmdloop $(myBOBSDATA)/current/process/cmdloop uninstall-local: ! # ! # This section contains things to do during 'make uninstall' ! # ! # Remove the html documents by name ! # so I don't delete something unintentionally. for file in $(HTMLDOCS); do \ --- 94,131 ---- ./mkinstalldirs $(myBOBSDATA)/current/process/session ! # httpd process must be able to write to bobs data dirs ! # and some html directories, ! # so make the httpd process own the directory if test -n "$(myHTTPDUSER)"; then \ ! chown -R $(myHTTPDUSER) $(myBOBSDATA); \ ! chown -R $(myHTTPDUSER) $(myWEBDIR)/inc/servers; \ fi ! # Install command processing program and check_loop ! $(INSTALL_PROGRAM) bash/cmdloop $(myBOBSDATA)/current/process/cmdloop ! $(INSTALL_PROGRAM) cron/check_loop $(myBOBSDATA)/current/process/check_loop ! ! ! # ! # This will remove all the install directories - empty or not. ! # ! uninstall-all: uninstall ! rm -rf $(myWEBDIR) ! rm -rf $(myBOBSDATA) uninstall-local: ! # ! # This section contains things to do during 'make uninstall' ! # ! # Remove the cron backup job ! ! rm -f /etc/cron.daily/backup.php ! ! # Remove the html documents by name ! # so I don't delete something unintentionally. for file in $(HTMLDOCS); do \ *************** *** 103,108 **** done ! # Remove the html directories if they're empty. ! # Reverse sort dir names to remove lowest branches first. for dir in `echo $(HTMLDIRS) | tr ' ' '\n' | sort -r`; do \ --- 133,138 ---- done ! # Remove the html directories if they're empty. ! # Reverse sort dir names to remove lowest branches first. for dir in `echo $(HTMLDIRS) | tr ' ' '\n' | sort -r`; do \ *************** *** 110,123 **** done ! # Now remove the 'bobs' html directory rmdir $(myWEBDIR) ! # Remove the bobs data files ! # Only remove the ones that 'make install' put there rm -f $(myBOBSDATA)/current/process/cmdloop ! # Remove the bobs data directories if empty rmdir $(myBOBSDATA)/current/process/session --- 140,154 ---- done ! # Now remove the 'bobs' html directory rmdir $(myWEBDIR) ! # Remove the bobs data files ! # Only remove the ones that 'make install' put there rm -f $(myBOBSDATA)/current/process/cmdloop + rm -f $(myBOBSDATA)/current/process/check_loop ! # Remove the bobs data directories if empty rmdir $(myBOBSDATA)/current/process/session Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.in 29 Sep 2002 01:59:39 -0000 1.3 --- Makefile.in 1 Dec 2002 03:14:37 -0000 1.4 *************** *** 1,5 **** ! # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am ! # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, --- 1,7 ---- ! # Makefile.in generated by automake 1.6.3 from Makefile.am. ! # @configure_input@ ! # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 ! # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, *************** *** 11,19 **** # PARTICULAR PURPOSE. # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # auto makefile for the top-level bobs program # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ! SHELL = @SHELL@ --- 13,23 ---- # PARTICULAR PURPOSE. + @SET_MAKE@ + # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # auto makefile for the top-level bobs program # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ! # Install these directories and files in the html dir. SHELL = @SHELL@ *************** *** 36,46 **** includedir = @includedir@ oldincludedir = /usr/include - - DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = . --- 40,46 ---- *************** *** 50,59 **** AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ ! INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ - NORMAL_INSTALL = : PRE_INSTALL = : --- 50,63 ---- AUTOHEADER = @AUTOHEADER@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ ! INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c + install_sh_SCRIPT = $(install_sh) -c INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_HEADER = $(INSTALL_DATA) transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : *************** *** 62,90 **** PRE_UNINSTALL = : POST_UNINSTALL = : ! build_alias = @build_alias@ ! build_triplet = @build@ ! host_alias = @host_alias@ ! host_triplet = @host@ ! target_alias = @target_alias@ ! target_triplet = @target@ myBOBSDATA = @myBOBSDATA@ - myHTTPD = @myHTTPD@ myHTTPDUSER = @myHTTPDUSER@ myPASS = @myPASS@ - myPHP = @myPHP@ - myPORTMAP = @myPORTMAP@ - myRSYNC = @myRSYNC@ myWEBDIR = @myWEBDIR@ - CLEANFILES = config.cache \ - cron/backup.php \ - inc/config.php - - - # Install these directories and files in the html dir. - HTMLDIRS = cron htmlinc \ images images/bar images/menu \ inc inc/excludes inc/servers \ js winc --- 66,92 ---- PRE_UNINSTALL = : POST_UNINSTALL = : ! ! EXEEXT = @EXEEXT@ ! OBJEXT = @OBJEXT@ ! PATH_SEPARATOR = @PATH_SEPARATOR@ ! AMTAR = @AMTAR@ ! AWK = @AWK@ ! DEPDIR = @DEPDIR@ ! INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ ! PACKAGE = @PACKAGE@ ! STRIP = @STRIP@ ! VERSION = @VERSION@ ! am__include = @am__include@ ! am__quote = @am__quote@ ! install_sh = @install_sh@ myBOBSDATA = @myBOBSDATA@ myHTTPDUSER = @myHTTPDUSER@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ HTMLDIRS = cron htmlinc \ images images/bar images/menu \ inc inc/excludes inc/servers \ + inc/templates \ js winc *************** *** 101,142 **** inc/excludes/default.excludelist \ inc/servers/*.ini \ js/*.js \ winc/*.php \ winc/*.html - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_CLEAN_FILES = - DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ - Makefile.in NEWS TODO config.guess config.sub configure configure.in \ - install-sh missing mkinstalldirs ! PACKAGE = @PACKAGE@ ! VERSION = @VERSION@ ! DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - TAR = gtar - GZIP_ENV = --best - all: all-redirect .SUFFIXES: - $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - - Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status ! config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck ! $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) tags: TAGS TAGS: distdir = $(PACKAGE)-$(VERSION) ! top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then --- 103,211 ---- inc/excludes/default.excludelist \ inc/servers/*.ini \ + inc/templates/*.php \ + inc/templates/*.sh \ js/*.js \ winc/*.php \ winc/*.html ! # ! # Other files to be removed for maintainer (me) ! # ! MAINTAINERCLEANFILES = \ ! configure \ ! Makefile.in \ ! mkinstalldirs \ ! missing \ ! install-sh \ ! aclocal.m4 ! subdir = . ! ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ! mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs ! CONFIG_CLEAN_FILES = inc/config.php cron/backup.php cron/check_loop ! DIST_SOURCES = ! DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ ! Makefile.in NEWS TODO aclocal.m4 configure configure.in \ ! install-sh missing mkinstalldirs ! all: all-am .SUFFIXES: + am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno + $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) ! $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck ! $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) + + $(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + inc/config.php: $(top_builddir)/config.status $(top_srcdir)/inc/config.php.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + cron/backup.php: $(top_builddir)/config.status $(top_srcdir)/cron/backup.php.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + cron/check_loop: $(top_builddir)/config.status $(top_srcdir)/cron/check_loop.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + uninstall-info-am: tags: TAGS TAGS: + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + top_distdir = . distdir = $(PACKAGE)-$(VERSION) ! ! am__remove_distdir = \ ! { test ! -d $(distdir) \ ! || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ ! && rm -fr $(distdir); }; } ! ! GZIP_ENV = --best ! distcleancheck_listfiles = find . -type f -print ! ! distdir: $(DISTFILES) ! $(am__remove_distdir) ! mkdir $(distdir) ! $(mkinstalldirs) $(distdir)/cron $(distdir)/inc ! @list='$(DISTFILES)'; for file in $$list; do \ ! if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ ! dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ ! if test "$$dir" != "$$file" && test "$$dir" != "."; then \ ! dir="/$$dir"; \ ! $(mkinstalldirs) "$(distdir)$$dir"; \ ! else \ ! dir=''; \ ! fi; \ ! if test -d $$d/$$file; then \ ! if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ ! cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ ! fi; \ ! cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ ! else \ ! test -f $(distdir)/$$file \ ! || cp -p $$d/$$file $(distdir)/$$file \ ! || exit 1; \ ! fi; \ ! done ! -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ ! || chmod -R a+r $(distdir) ! dist-gzip: distdir ! $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz ! $(am__remove_distdir) ! ! dist dist-all: distdir ! $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz ! $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then *************** *** 144,154 **** # tarfile. distcheck: dist ! -rm -rf $(distdir) ! GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst ! dc_install_base=`cd $(distdir)/=inst && pwd`; \ ! cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ --- 213,226 ---- # tarfile. distcheck: dist ! $(am__remove_distdir) ! GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ! chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/=build mkdir $(distdir)/=inst ! chmod a-w $(distdir) ! dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ ! && cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ + $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ *************** *** 156,269 **** && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ ! && $(MAKE) $(AM_MAKEFLAGS) dist ! -rm -rf $(distdir) ! @banner="$(distdir).tar.gz is ready for distribution"; \ ! dashes=`echo "$$banner" | sed s/./=/g`; \ ! echo "$$dashes"; \ ! echo "$$banner"; \ ! echo "$$dashes" ! dist: distdir ! -chmod -R a+r $(distdir) ! GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) ! -rm -rf $(distdir) ! dist-all: distdir ! -chmod -R a+r $(distdir) ! GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) ! -rm -rf $(distdir) ! distdir: $(DISTFILES) ! -rm -rf $(distdir) ! mkdir $(distdir) ! -chmod 777 $(distdir) ! here=`cd $(top_builddir) && pwd`; \ ! top_distdir=`cd $(distdir) && pwd`; \ ! distdir=`cd $(distdir) && pwd`; \ ! cd $(top_srcdir) \ ! && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile ! @for file in $(DISTFILES); do \ ! d=$(srcdir); \ ! if test -d $$d/$$file; then \ ! cp -pr $$d/$$file $(distdir)/$$file; \ ! else \ ! test -f $(distdir)/$$file \ ! || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ ! || cp -p $$d/$$file $(distdir)/$$file || :; \ ! fi; \ ! done ! info-am: ! info: info-am ! dvi-am: ! dvi: dvi-am check-am: all-am check: check-am ! installcheck-am: ! installcheck: installcheck-am ! install-exec-am: ! install-exec: install-exec-am ! install-data-am: install-data-local ! install-data: install-data-am - install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am ! uninstall-am: uninstall-local uninstall: uninstall-am - all-am: Makefile - all-redirect: all-am - install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install - installdirs: mostlyclean-generic: clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: ! mostlyclean-am: mostlyclean-generic ! mostlyclean: mostlyclean-am ! clean-am: clean-generic mostlyclean-am ! clean: clean-am ! distclean-am: distclean-generic clean-am ! distclean: distclean-am ! -rm -f config.status ! maintainer-clean-am: maintainer-clean-generic distclean-am ! @echo "This command is intended for maintainers to use;" ! @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am ! -rm -f config.status ! .PHONY: tags distdir info-am info dvi-am dvi check check-am \ ! installcheck-am installcheck install-exec-am install-exec \ ! install-data-local install-data-am install-data install-am install \ ! uninstall-local uninstall-am uninstall all-redirect all-am all \ ! installdirs mostlyclean-generic distclean-generic clean-generic \ ! maintainer-clean-generic clean mostlyclean distclean maintainer-clean install-data-local: ! # ! # This section contains things to do during 'make install' ! # ! # Create html documents directory ./mkinstalldirs $(myWEBDIR) ! # Create the html directories in the location ! # specified by '--with-webdir=DIR' for dir in $(HTMLDIRS); do \ --- 228,349 ---- && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ ! && $(MAKE) $(AM_MAKEFLAGS) uninstall \ ! && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ ! || { echo "ERROR: files left after uninstall:" ; \ ! find $$dc_install_base -type f -print ; \ ! exit 1; } >&2 ) \ ! && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ ! && rm -f $(distdir).tar.gz \ ! && $(MAKE) $(AM_MAKEFLAGS) distcleancheck ! $(am__remove_distdir) ! @echo "$(distdir).tar.gz is ready for distribution" | \ ! sed 'h;s/./=/g;p;x;p;x' ! distcleancheck: distclean ! if test '$(srcdir)' = . ; then \ ! echo "ERROR: distcleancheck can only run from a VPATH build" ; \ ! exit 1 ; \ ! fi ! test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ ! || { echo "ERROR: files left after distclean:" ; \ ! $(distcleancheck_listfiles) ; \ ! exit 1; } >&2 check-am: all-am check: check-am ! all-am: Makefile ! installdirs: install: install-am ! install-exec: install-exec-am ! install-data: install-data-am uninstall: uninstall-am + install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + installcheck: installcheck-am + install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) maintainer-clean-generic: ! @echo "This command is intended for maintainers to use" ! @echo "it deletes files that may require special tools to rebuild." ! -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) ! clean: clean-am ! clean-am: clean-generic mostlyclean-am ! distclean: distclean-am ! -rm -f $(am__CONFIG_DISTCLEAN_FILES) ! distclean-am: clean-am distclean-generic ! dvi: dvi-am ! dvi-am: ! info: info-am ! info-am: ! ! install-data-am: install-data-local ! ! install-exec-am: ! ! install-info: install-info-am ! ! install-man: ! ! installcheck-am: maintainer-clean: maintainer-clean-am ! -rm -f $(am__CONFIG_DISTCLEAN_FILES) ! -rm -rf autom4te.cache ! maintainer-clean-am: distclean-am maintainer-clean-generic \ ! maintainer-clean-local ! mostlyclean: mostlyclean-am + mostlyclean-am: mostlyclean-generic + + uninstall-am: uninstall-info-am uninstall-local + + .PHONY: all all-am check check-am clean clean-generic dist dist-all \ + dist-gzip distcheck distclean distclean-generic distcleancheck \ + distdir dvi dvi-am info info-am install install-am install-data \ + install-data-am install-data-local install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic maintainer-clean-local mostlyclean \ + mostlyclean-generic uninstall uninstall-am uninstall-info-am \ + uninstall-local + + + cvs-clean: distclean + rm -rf auto*.cache + + maintainer-clean-local: + rm -rf auto*.cache install-data-local: ! # ! # This section contains things to do during 'make install' ! # ! # Create html documents directory ./mkinstalldirs $(myWEBDIR) ! # Create the html directories in the location ! # specified by '--with-webdir=DIR' for dir in $(HTMLDIRS); do \ *************** *** 271,285 **** done ! # Copy the html documents to their final destination for file in $(HTMLDOCS); do \ ! cp $$file $(myWEBDIR)/$$file; \ done ! # backup.php must be executable ! chmod 755 $(myWEBDIR)/cron/backup.php ! # Create bobs data directories ./mkinstalldirs $(myBOBSDATA) --- 351,365 ---- done ! # Copy the html documents to their final destination for file in $(HTMLDOCS); do \ ! $(INSTALL_PROGRAM) $$file $(myWEBDIR)/$$file; \ done ! # Put a link to backup.php in /etc/cron.daily ! ln -s $(myWEBDIR)/cron/backup.php /etc/cron.daily/backup.php ! # Create bobs data directories ./mkinstalldirs $(myBOBSDATA) *************** *** 290,318 **** ./mkinstalldirs $(myBOBSDATA)/current/process/session ! # httpd process must be able to write to bobs data dirs ! # and some html directories, ! # so make the httpd process own the directory if test -n "$(myHTTPDUSER)"; then \ ! chown $(myHTTPDUSER) $(myBOBSDATA); \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process; \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process/cmd; \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process/mounts; \ ! chown $(myHTTPDUSER) $(myBOBSDATA)/current/process/session; \ ! chown $(myHTTPDUSER) $(myWEBDIR)/inc/servers; \ fi ! # Install command processing program ! cp bash/cmdloop $(myBOBSDATA)/current/process/cmdloop uninstall-local: ! # ! # This section contains things to do during 'make uninstall' ! # ! # Remove the html documents by name ! # so I don't delete something unintentionally. for file in $(HTMLDOCS); do \ --- 370,406 ---- ./mkinstalldirs $(myBOBSDATA)/current/process/session ! # httpd process must be able to write to bobs data dirs ! # and some html directories, ! # so make the httpd process own the directory if test -n "$(myHTTPDUSER)"; then \ ! chown -R $(myHTTPDUSER) $(myBOBSDATA); \ ! chown -R $(myHTTPDUSER) $(myWEBDIR)/inc/servers; \ fi ! # Install command processing program and check_loop ! $(INSTALL_PROGRAM) bash/cmdloop $(myBOBSDATA)/current/process/cmdloop ! $(INSTALL_PROGRAM) cron/check_loop $(myBOBSDATA)/current/process/check_loop ! ! # ! # This will remove all the install directories - empty or not. ! # ! uninstall-all: uninstall ! rm -rf $(myWEBDIR) ! rm -rf $(myBOBSDATA) uninstall-local: ! # ! # This section contains things to do during 'make uninstall' ! # ! # Remove the cron backup job ! ! rm -f /etc/cron.daily/backup.php ! ! # Remove the html documents by name ! # so I don't delete something unintentionally. for file in $(HTMLDOCS); do \ *************** *** 320,325 **** done ! # Remove the html directories if they're empty. ! # Reverse sort dir names to remove lowest branches first. for dir in `echo $(HTMLDIRS) | tr ' ' '\n' | sort -r`; do \ --- 408,413 ---- done ! # Remove the html directories if they're empty. ! # Reverse sort dir names to remove lowest branches first. for dir in `echo $(HTMLDIRS) | tr ' ' '\n' | sort -r`; do \ *************** *** 327,340 **** done ! # Now remove the 'bobs' html directory rmdir $(myWEBDIR) ! # Remove the bobs data files ! # Only remove the ones that 'make install' put there rm -f $(myBOBSDATA)/current/process/cmdloop ! # Remove the bobs data directories if empty rmdir $(myBOBSDATA)/current/process/session --- 415,429 ---- done ! # Now remove the 'bobs' html directory rmdir $(myWEBDIR) ! # Remove the bobs data files ! # Only remove the ones that 'make install' put there rm -f $(myBOBSDATA)/current/process/cmdloop + rm -f $(myBOBSDATA)/current/process/check_loop ! # Remove the bobs data directories if empty rmdir $(myBOBSDATA)/current/process/session *************** *** 344,348 **** rmdir $(myBOBSDATA)/current rmdir $(myBOBSDATA) - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. --- 433,436 ---- |