Permalink
Browse files

make doc: put a warning in quirc.1 to say that it's generated from ma…

…n.in
  • Loading branch information...
1 parent 8e00f7b commit 5ffc2880b91ea7c1af542818c19d7f1b8eb89df2 ec429 committed Jun 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
View
@@ -46,7 +46,8 @@ README: readme.htm
# warning, this explodes if PREFIX contains a !
quirc.1: man.in
- sed -e "s!\$$PREFIX!$(PREFIX)!g" < man.in > quirc.1
+ echo ".\\\"\n.\\\"This man page is automatically generated from man.in by a sedscript; edit man.in, not this file, and 'make doc' to apply the changes.">quirc.1
+ sed -e "s!\$$PREFIX!$(PREFIX)!g" < man.in >> quirc.1
# funky make cleverness to generate object files; a %.o /always/ depends on its %.h as well as its %.c

0 comments on commit 5ffc288

Please sign in to comment.