diff options
Diffstat (limited to 'plugins-root')
-rw-r--r-- | plugins-root/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index ba2e9a27..3fb62a24 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am @@ -1,13 +1,13 @@ ## Process this file with automake to produce Makefile.in +if RELEASE_PRESENT +NP_VERSION = $(PACKAGE_VERSION) +else NP-VERSION-FILE: .FORCE-NP-VERSION-FILE @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN .FORCE-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@ +-include NP-VERSION-FILE +endif AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' |