aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85923cf..b6a1bb5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,18 @@
CLASSPATH := -classpath '.:./lib/*'
+MAN_PAGE := doc/pdf-form-replace-font2.1
+
all:
javac $(CLASSPATH) Main.java
+
+.PHONY: doc
+doc: $(MAN_PAGE)
+
+$(MAN_PAGE): $(MAN_PAGE).txt
+ a2x --no-xmllint --format manpage $<
+
+
.PHONY: compile
compile:
mvn compile