Просмотр исходного кода

Workaround to support more make programs

Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
Thomas Guyot-Sionnest 17 лет назад
Родитель
Сommit
ed9a088b37
3 измененных файлов с 12 добавлено и 3 удалено
  1. 4 1
      plugins-root/Makefile.am
  2. 4 1
      plugins-scripts/Makefile.am
  3. 4 1
      plugins/Makefile.am

+ 4 - 1
plugins-root/Makefile.am

@@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
 	@$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
 .FORCE-NP-VERSION-FILE:
 
--include NP-VERSION-FILE
+## This is undocumented and could possibly break in future versions of
+## automake. See:
+## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
+@am__include@ @am__quote@NP-VERSION-FILE@am__quote@
 
 AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
 

+ 4 - 1
plugins-scripts/Makefile.am

@@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
 	@$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
 .FORCE-NP-VERSION-FILE:
 
--include NP-VERSION-FILE
+## This is undocumented and could possibly break in future versions of
+## automake. See:
+## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
+@am__include@ @am__quote@NP-VERSION-FILE@am__quote@
 
 SUFFIXES = .pl .sh
 

+ 4 - 1
plugins/Makefile.am

@@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
 	@$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
 .FORCE-NP-VERSION-FILE:
 
--include NP-VERSION-FILE
+## This is undocumented and could possibly break in future versions of
+## automake. See:
+## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
+@am__include@ @am__quote@NP-VERSION-FILE@am__quote@
 
 AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'