--- loncom/build/readme.html 2002/04/27 16:23:40 1.17 +++ loncom/build/readme.html 2002/04/27 16:31:39 1.18 @@ -1,7 +1,7 @@ - +
 
-configinstall: 
-        # there is a dependency on having directories in place, but oh well...
-        perl parse.pl ../../doc/loncapafiles/loncapafiles.html configinstall > Makefile.configinstall
-        make -f Makefile.configinstall SOURCE="../.." TARGET="" configfiles
-        perl loncaparestoreconfigurations lasttimestamp
-        make -f Makefile.configinstall TARGET="" configpermissions
+configinstall: Makefile.configinstall
+	make -f Makefile.configinstall SOURCE="$(SOURCE)" TARGET="$(TARGET)" \
+	configfiles
+	if (test "0" = $(NORESTORECONF)); then \
+	perl loncaparestoreconfigurations suffix .lpmlnew; fi
+
+Makefile.configinstall: $(SOURCE)/doc/loncapafiles/loncapafiles.lpml lpml_parse.pl
+	cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \
+	perl lpml_parse.pl configinstall $(CATEGORY) $(DIST) "$(SOURCE)" \
+	"$(TARGET)" > Makefile.configinstall
 
 
@@ -577,8 +581,11 @@ and restore all the configuration values loncaparestoreconfigurations is pretty smart though, has yet to fail, and besides, when needed backup copies are made.

-
  • +
  • Building RPMs (make RPM)

    +

    +LON-CAPA is currently installed through "intelligent tarballs". This +is part of an earlier (and perhaps future) effort involving RPMs. Commands

    @@ -650,6 +657,7 @@ the sake of reusability, should eventual
     are generated: LON-CAPA-base-3.1-1.i386 and LON-CAPA-setup-3.1-1.i386.rpm
     (again, never manually install LON-CAPA-setup-3.1-1.i386.rpm).
     

    +