index 01fca20d2eb95d49cc9db67eb71b4573d3743dc6..58db06048ec0c0e6f62b956bffbde0019f88e15e 100644 (file)
## Process this file with automake to produce Makefile.in
+if RELEASE_PRESENT
+NP_VERSION = @NP_RELEASE@
+else
+NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
+ @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
+.FORCE-NP-VERSION-FILE:
+-include NP-VERSION-FILE
+endif
+
SUFFIXES = .pl .sh
VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t
CLEANFILES=$(libexec_SCRIPTS)
.pl :
- $(AWK) -f ./subst $< > $@
+ NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@
chmod +x $@
.sh :
- $(AWK) -f ./subst $< > $@
+ NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@
chmod +x $@
+
+clean-local:
+ rm -f NP-VERSION-FILE
+