diff --git a/doc/rascsi_man_page.txt b/doc/rascsi_man_page.txt index 998e7e41..d7a26229 100644 --- a/doc/rascsi_man_page.txt +++ b/doc/rascsi_man_page.txt @@ -1,3 +1,7 @@ +!! ------ THIS FILE IS AUTO_GENERATED! DO NOT MANUALLY UPDATE!!! +!! ------ The native file is rascsi.1. Re-run 'make docs' after updating + + rascsi(1) General Commands Manual rascsi(1) NAME diff --git a/doc/rasctl_man_page.txt b/doc/rasctl_man_page.txt index b79f4090..9f2d5642 100644 --- a/doc/rasctl_man_page.txt +++ b/doc/rasctl_man_page.txt @@ -1,3 +1,7 @@ +!! ------ THIS FILE IS AUTO_GENERATED! DO NOT MANUALLY UPDATE!!! +!! ------ The native file is rasctl.1. Re-run 'make docs' after updating + + rascsi(1) General Commands Manual rascsi(1) NAME diff --git a/src/raspberrypi/Makefile b/src/raspberrypi/Makefile index 4b59e0ff..883e8a0e 100644 --- a/src/raspberrypi/Makefile +++ b/src/raspberrypi/Makefile @@ -119,7 +119,9 @@ $(MAN_PAGE_DIR)/%.1 : $(DOC_DIR)/%.1 sudo cp $< $@ $(DOC_DIR)/%_man_page.txt : $(DOC_DIR)/%.1 - man -l $< | col -bx > $@ + @echo "!! ------ THIS FILE IS AUTO_GENERATED! DO NOT MANUALLY UPDATE!!!" > $@ + @echo "!! ------ The native file is $(notdir $<). Re-run 'make docs' after updating\n\n" >> $@ + man -l $< | col -bx >> $@ .PHONY: Debug Debug: scsimon