Created
January 3, 2013 06:32
-
-
Save alecthegeek/4441270 to your computer and use it in GitHub Desktop.
Build an HTML file from POD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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