2012-12-17 20:28:20 +00:00
|
|
|
all: dosage.1.html dosage.txt
|
2012-10-11 12:17:10 +00:00
|
|
|
|
2012-12-17 20:28:20 +00:00
|
|
|
dosage.txt: dosage.1
|
|
|
|
# make text file from man page for Windows builds
|
|
|
|
cols=`stty size | cut -d" " -f2`; stty cols 72; man -l $< | sed -e 's/.\cH//g' > $@; stty cols $$cols
|
2012-10-11 12:17:10 +00:00
|
|
|
|
|
|
|
dosage.1.html: dosage.1
|
|
|
|
man2html -r $< | tail -n +2 | sed 's/Time:.*//g' | sed 's@/:@/@g' > $@
|
2012-12-17 20:28:20 +00:00
|
|
|
patch --no-backup-if-mismatch --quiet $@ dosage.1.html.diff
|
2012-12-07 23:45:18 +00:00
|
|
|
|
2012-12-17 20:28:20 +00:00
|
|
|
.PHONY: all
|