Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Packaging. t+ html+

  • Loading branch information...
commit 49f0b0b168a669e78f017d415b6119088e827c3a 1 parent daaf72b
Jeffrey Kegler authored
Showing with 31 additions and 33 deletions.
  1. +3 −23 INSTALL_NOTES
  2. +28 −10 Makefile
View
26 INSTALL_NOTES
@@ -1,26 +1,6 @@
Because this repository is a collection of development environments
created for refactoring, there is no 100% up-to-date, accurate
-installation procedure. The contents of this file are notes,
-collected to help the author figure out how to set up a brand new
-clone of the repository for development. For his own sake, if
-nothing else, the author tries to keep these accurate and up-to-date.
-He does not succeed 100%.
+installation procedure.
-If this combined repository lasts long enough, and stabilizes, maybe
-someday there will be a real installation checklist.
-
-1.) In the xs/libmarpa/dev directory, run "make".
-
-2.) In the xs/libmarpa/dev directory, run "make install".
-
-3.) In the xs/libmarpa/dist directory, follow the instructions in
-the README file.
-
-4.) In the xs directory, run "perl Build.PL". Then run "./Build
-code".
-
-5.) In the pp directory, run "perl Build.PL". Then run "./Build
-code".
-
-6.) In the html directory, run "perl Build.PL". Then run "./Build
-code".
+There is an install target in the Makefile. It is not necessarily
+fully up to date with the software and is best used as a checklist.
View
38 Makefile
@@ -19,37 +19,39 @@
dummy:
xs_basic_test:
- (cd xs; ./Build test)
+ (cd xs && ./Build test)
xst: xs_basic_test xs_html_test
libs: pplib xslib
pplib:
- (cd dpplib; rm -rf *)
- (cd pp; ./Build install --install_base ../dpplib)
+ -mkdir dpplib
+ -rm -rf dpplib/lib dpplib/man dpplib/html
+ (cd pp && ./Build install --install_base ../dpplib)
xslib:
- (cd dxslib; rm -rf *)
- (cd xs; ./Build install --install_base ../dxslib)
+ -mkdir dxslib
+ -rm -rf dxslib/lib dxslib/man dxslib/html
+ (cd xs && ./Build install --install_base ../dxslib)
html_blib:
- (cd html; ./Build code)
+ (cd html && ./Build code)
pp_html_test: html_blib pplib
- (cd html; \
+ (cd html && \
PERL5LIB=$(CURDIR)/noxs/lib:$(CURDIR)/dpplib/lib/perl5:$$PERL5LIB prove -Ilib t )
xs_html_test: html_blib xslib
- (cd html; \
+ (cd html && \
PERL5LIB=$(CURDIR)/dxslib/lib/perl5:$$PERL5LIB prove -Ilib t )
pp_etc_make:
- (cd pp/etc; make)
+ (cd pp/etc && make)
xs_etc_make:
- (cd xs/etc; make)
+ (cd xs/etc && make)
pp_full_test: pplib pp_etc_make pp_html_test
@@ -59,3 +61,19 @@ full_test: pp_full_test xs_full_test
html_full_test: pp_html_test xs_html_test
+install:
+ (cd xs/libmarpa/dev && make)
+ (cd xs/libmarpa/dev && make install)
+ -mkdir xs/libmarpa/dist/m4
+ (cd xs/libmarpa/dist && autoreconf -ivf)
+ -mkdir xs/libmarpa/test/dev/m4
+ (cd xs/libmarpa/test/dev && autoreconf -ivf)
+ -mkdir xs/libmarpa/test/build
+ (cd xs/libmarpa/test/build && sh ../dev/configure)
+ (cd xs/libmarpa/test/build && make)
+ (cd pp && perl Build.PL)
+ (cd pp && ./Build code)
+ (cd xs && perl Build.PL)
+ (cd xs && ./Build code)
+ (cd html && perl Build.PL)
+ (cd html && ./Build code)
Please sign in to comment.
Something went wrong with that request. Please try again.