aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2023-04-26 18:45:21 +0200
committerTeddy Wing2023-04-26 18:45:21 +0200
commit576f70c03a866d598f483eb215ef4bde55aca9d5 (patch)
tree09fdca079ad2ea3b9a9289e8ed83ed68be7053a5 /Makefile
parent5722b8d1a9f69e784452e188aab2ca30db5582e1 (diff)
downloadpdf-form-replace-font2-576f70c03a866d598f483eb215ef4bde55aca9d5.tar.bz2
Add man page
Copy from 'pdf-form-replace-font' with small modifications to align with the present project.
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