Skip to content

Instantly share code, notes, and snippets.

@alecthegeek
Created January 3, 2013 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alecthegeek/4441270 to your computer and use it in GitHub Desktop.
Save alecthegeek/4441270 to your computer and use it in GitHub Desktop.
Build an HTML file from POD
# Generate Perl POD (Plain Old Documentation)
#
.SUFFIXES:
.SUFFIXES: .html
.PHONEY: all clean
SHORT_NAME:="myScript"
LONG_NAME:="My Application Script"
all : $(SHORT_NAME).html
%.html: %.pl
pod2html --infile=$< --outfile=$@ --title=$(LONG_NAME)
-rm pod*.tmp
clean:
-rm $(SHORT_NAME).html mxuser_list.log configDetailed.log configDebug.log *.tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment