Makefile
changeset 127 2fc0561f80ca
parent 125 63b391bee058
child 128 ca6ceff4941c
equal deleted inserted replaced
126:ce55b1ae8557 127:2fc0561f80ca
   278 $(HTML_FILES): %.html: %.rst rst.css VERSION.rst $(BUILD_SCRIPT)
   278 $(HTML_FILES): %.html: %.rst rst.css VERSION.rst $(BUILD_SCRIPT)
   279 	$(RST2HTML) $(RST2HTML_FLAGS) --stylesheet=rst.css $*.rst $@
   279 	$(RST2HTML) $(RST2HTML_FLAGS) --stylesheet=rst.css $*.rst $@
   280 
   280 
   281 VERSION.rst: VERSION $(BUILD_SCRIPT)
   281 VERSION.rst: VERSION $(BUILD_SCRIPT)
   282 	{ \
   282 	{ \
   283 	echo 'Version: '$(vmajor).$(vminor); \
   283 	echo 'For ``$(pkgname)`` version: ``$(vmajor).$(vminor)``.'; \
   284 	echo; \
   284 	echo; \
   285 	echo 'Date: '`date +%F`; \
   285 	case ${visclean} in \
       
   286 		yes) echo 'Source files are at revision: ``$(vrev)``.';; \
       
   287 		no) echo 'Some source files was modified from revision: ``$(vrev)``.';; \
       
   288 	esac; \
       
   289 	echo; \
       
   290 	case ${vatrelease} in \
       
   291 		yes) echo 'Package is at release state.';; \
       
   292 		no) echo 'Package is far from release state by $(vtagdist) changes.';; \
       
   293 	esac; \
       
   294 	echo; \
       
   295 	echo 'Build date: ``'$$(date +%F)'``.'; \
   286 	} >$@
   296 	} >$@
   287 
   297 
   288 ################################################################
   298 ################################################################
   289 # Helpers targets.
   299 # Helpers targets.
   290 
   300