]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Mark %MAKEFILE% as `.PRECIOUS'.
authorJim Meyering <jim@meyering.net>
Mon, 17 Nov 2003 09:05:30 +0000 (09:05 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 17 Nov 2003 09:05:30 +0000 (09:05 +0000)
lib/am/configure.am

index ba7a58817260de12f5bc7a90260ccbb197e1f1e6..20f4eefa8c744a0f8dfb120755976cbd9a3da1fa 100644 (file)
@@ -53,6 +53,10 @@ endif %?TOPDIR_P%
        cd $(top_srcdir) && \
          $(AUTOMAKE) --%STRICTNESS% %USE-DEPS% %MAKEFILE-AM-SOURCES%
 
+## Ensure that GNU make doesn't remove Makefile if ./config.status (below)
+## is interrupted.  Otherwise, the user would need to know to rerun
+## ./config.status to recreate the lost Makefile.
+.PRECIOUS: %MAKEFILE%
 ## This rule remakes the Makefile.
 %MAKEFILE%: %MAINTAINER-MODE% %MAKEFILE-DEPS% $(top_builddir)/config.status
 ## If Makefile is to be updated because of config.status, then run