Diff for /loncom/build/Makefile between versions 1.69 and 1.78

version 1.69, 2002/02/13 15:03:47 version 1.78, 2002/03/22 01:34:24
Line 64  TEST_lpml_scripts: Line 64  TEST_lpml_scripts:
  cd ../test; perl filecomparetest.pl   cd ../test; perl filecomparetest.pl
   
 TEST_web_layer:  TEST_web_layer:
  @echo "Testing of web layers is not yet implemented."   @echo "TESTING WEB LAYER"
    cd weblayer_test; make
   
 TEST_hosts_tab:  TEST_hosts_tab:
  @echo "Testing hosts.tab"   @echo "Testing hosts.tab"
Line 87  NET_hosts_tab: Line 88  NET_hosts_tab:
 hosts_tab: TEST_hosts_tab  hosts_tab: TEST_hosts_tab
  cat ../../doc/loncapafiles/loncapafiles.lpml | \   cat ../../doc/loncapafiles/loncapafiles.lpml | \
  perl xfml_parse.pl ../../doc/loncapafiles/valid_hosts.xfml | \   perl xfml_parse.pl ../../doc/loncapafiles/valid_hosts.xfml | \
  perl xfml_parse.pl ../../doc/loncapafiles/no_globs.xfml | \  
  perl xfml_parse.pl ../../doc/loncapafiles/no_links.xfml | \  
  perl lpml_parse.pl install $(CATEGORY) $(DIST) "$(SOURCE)" \   perl lpml_parse.pl install $(CATEGORY) $(DIST) "$(SOURCE)" \
  "$(TARGET)" > Makefile.install   "$(TARGET)" > Makefile.install
  make -f Makefile.install directories   make -f Makefile.install directories
Line 182  warningnote: Line 181  warningnote:
  echo "!!!!  Please read the WARNINGS file !!!!"; \   echo "!!!!  Please read the WARNINGS file !!!!"; \
  echo "!!!!   to make sure everything is   !!!!"; \   echo "!!!!   to make sure everything is   !!!!"; \
  echo "!!!!    correct and taken care of   !!!!"; \   echo "!!!!    correct and taken care of   !!!!"; \
  echo "!!!!    (it is output below here)   !!!!"; \  
  echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; \   echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; \
  cat WARNINGS; \  
  fi   fi
   
 NET_webserverconf:  NET_webserverconf:
Line 195  webserverconf: Line 192  webserverconf:
  cat ../../doc/loncapafiles/webserver.piml | \   cat ../../doc/loncapafiles/webserver.piml | \
  perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH)   perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH)
   
   sanitycheck:
    cat ../../doc/loncapafiles/sanitycheck.piml | \
    perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
    tee -a WARNINGS
   
 postinstall:  postinstall:
  make webserverconf   make webserverconf
    make sanitycheck
   
 install: TEST_hosts_tab Makefile.install Makefile  install: TEST_hosts_tab Makefile.install Makefile
  echo -n "" > WARNINGS   echo -n "" > WARNINGS
Line 206  install: TEST_hosts_tab Makefile.install Line 209  install: TEST_hosts_tab Makefile.install
  make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" links   make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" links
  make SOURCE="$(SOURCE)" TARGET="$(TARGET)" \   make SOURCE="$(SOURCE)" TARGET="$(TARGET)" \
  NORESTORECONF="$(NORESTORECONF)" configinstall   NORESTORECONF="$(NORESTORECONF)" configinstall
    make postinstall
  make warningnote   make warningnote
    echo "You can run 'make test' to see if your system is ready to go!"
   
 Makefile.install: ../../doc/loncapafiles/loncapafiles.lpml lpml_parse.pl  Makefile.install: ../../doc/loncapafiles/loncapafiles.lpml lpml_parse.pl
  cat ../../doc/loncapafiles/loncapafiles.lpml | \   cat ../../doc/loncapafiles/loncapafiles.lpml | \
Line 220  build: Makefile.build pod2html.sh pod2ma Line 225  build: Makefile.build pod2html.sh pod2ma
   
 Makefile.build: ../../doc/loncapafiles/loncapafiles.lpml lpml_parse.pl  Makefile.build: ../../doc/loncapafiles/loncapafiles.lpml lpml_parse.pl
  cat ../../doc/loncapafiles/loncapafiles.lpml | \   cat ../../doc/loncapafiles/loncapafiles.lpml | \
  perl lpml_parse.pl build $(CATEGORY) $(DIST) "../.." "" > \   perl lpml_parse.pl build $(CATEGORY) $(DIST) "$(SOURCE)" "$(TARGET)" \
  Makefile.build   > Makefile.build
   
 RPM: BinaryRoot base_rpm_file_list  RPM: BinaryRoot base_rpm_file_list
  cat ../../doc/loncapafiles/loncapafiles.lpml | \   cat ../../doc/loncapafiles/loncapafiles.lpml | \
Line 256  base_rpm_file_list: Line 261  base_rpm_file_list:
 BinaryRoot: base_rpm_file_list  BinaryRoot: base_rpm_file_list
  make TARGET='BinaryRoot' NORESTORECONF='1' install   make TARGET='BinaryRoot' NORESTORECONF='1' install
   
 loncapaconfig:  
  rm -Rf LoncapaconfigRoot  
  install -d LoncapaconfigRoot/usr/src/  
  install -d LoncapaconfigRoot/usr/lib/python1.5/site-packages  
  install /usr/lib/python1.5/site-packages/kudzumodule.so \  
  LoncapaconfigRoot/usr/lib/python1.5/site-packages/kudzumodule.so  
  cd LoncapaconfigRoot/usr/src; cp -pR /mnt/drive/loncapaconfig .  
  install -d LoncapaconfigRoot/usr/sbin  
  @echo -e "#!/bin/sh\ncd /usr/src/loncapaconfig/usr/bin; \  
  ./loncapaconfig\n" > LoncapaconfigRoot/usr/sbin/loncapaconfig  
  chmod u+x LoncapaconfigRoot/usr/sbin/loncapaconfig  
  find LoncapaconfigRoot -type d | xargs chmod o-wxr  
  find LoncapaconfigRoot -type f | xargs chmod o-wxr  
  find LoncapaconfigRoot/ -type d | grep 'src/lon' > \  
  loncapaconfig_file_list.txt  
  find LoncapaconfigRoot/ -type d | grep \  
  '^LoncapaconfigRoot/usr/lib/python1.5/site-packages' >> \  
  loncapaconfig_file_list.txt  
  find LoncapaconfigRoot/ -type f >> loncapaconfig_file_list.txt  
  cat loncapaconfig_file_list.txt | perl make_rpm.pl loncapaconfig 3.1 \  
  '' '' LoncapaconfigRoot  
  cp LON-CAPA-loncapaconfig-3.1-1.i386.rpm \  
  /mnt/drive/install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/.  
   
 # Generates CVS:loncom/build/docs; root location of install.lon-capa.org  # Generates CVS:loncom/build/docs; root location of install.lon-capa.org
 doc:  doc:
  install -d docs   install -d docs

Removed from v.1.69  
changed lines
  Added in v.1.78


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>