build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball.
* Makefile.am (gen-AUTHORS): Don't do anything if '.git' is missing. Remove "$(distdir)/AUTHORS" before invoking 'generate-authors.scm'.
This commit is contained in:
		
							parent
							
								
									a5b2570a1c
								
							
						
					
					
						commit
						ac140f7966
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -389,9 +389,12 @@ gen-ChangeLog: | ||||||
| 	fi | 	fi | ||||||
| 
 | 
 | ||||||
| gen-AUTHORS: | gen-AUTHORS: | ||||||
|  | 	if test -d .git; then					\ | ||||||
|  | 	  rm -f "$(distdir)/AUTHORS";				\ | ||||||
| 	  $(top_builddir)/pre-inst-env "$(GUILE)"		\ | 	  $(top_builddir)/pre-inst-env "$(GUILE)"		\ | ||||||
| 	    "$(top_srcdir)/build-aux/generate-authors.scm"	\ | 	    "$(top_srcdir)/build-aux/generate-authors.scm"	\ | ||||||
| 	  "$(top_srcdir)" "$(distdir)/AUTHORS" | 	    "$(top_srcdir)" "$(distdir)/AUTHORS";		\ | ||||||
|  | 	fi | ||||||
| 
 | 
 | ||||||
| # Make sure we're not shipping a file that embeds a local /gnu/store file name. | # Make sure we're not shipping a file that embeds a local /gnu/store file name. | ||||||
| assert-no-store-file-names: | assert-no-store-file-names: | ||||||
|  |  | ||||||
		Reference in a new issue