Add code to build HTML documentation from the podfiles.
authordjfiander <djfiander>
Mon, 15 May 2006 00:15:11 +0000 (00:15 +0000)
committerdjfiander <djfiander>
Mon, 15 May 2006 00:15:11 +0000 (00:15 +0000)
Makefile

index c1c2b3d..2f670bb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,13 @@
 # sorts of tasks
 #
 
+PODFLAGS = --htmlroot=. --podroot=.
+
+.SUFFIXES: .pod .html
+
+.pod.html:
+       pod2html $(PODFLAGS) --outfile=$@ --infile=$<
+
 all:
        @echo Nothing to make.  The command '"make run"' will run the server.
 
@@ -10,8 +17,10 @@ all:
 run: 
        perl SIPServer.pm SIPconfig.xml
 
+test:
+       cd t; $(MAKE) test
+
 tags:
        find . -name '*.pm' -print | etags -
 
-test:
-       cd t; $(MAKE) test
+html: ILS.html ILS/Item.html ILS/Patron.html