Comment 0 for bug 246354

Revision history for this message
Stephan Fabel (sfabel) wrote : Timestamp in Makefile

When creating a new Makefile by visiting a new file, a template of a Makefile is automatically inserted by Emacs. Included is a timestamp that will update as the file is saved. However, it deletes the comment sign while updating, thus causing the successive 'make' call to fail.

For example, this is how the Makefile lines 7 and 8 look like before a save, when visiting the new file:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
## Last update Mon Jul 7 08:07:04 2008 Stephan Fabel

After the save, it looks like this:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
Last update Mon Jul 7 08:08:06 2008 Stephan Fabel

There is no way other than deleting line 8 to circumvent this behavior.