diff options
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index f427a11a..21778407 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -12,14 +12,18 @@ localedir = $(datadir)/locale | |||
| 12 | DEFS = -DLOCALEDIR=\"$(localedir)\" | 12 | DEFS = -DLOCALEDIR=\"$(localedir)\" |
| 13 | 13 | ||
| 14 | dist-hook: | 14 | dist-hook: |
| 15 | make THANKS nagios-plugins.spec | 15 | make THANKS nagios-plugins.spec pkg/fedora/nagios-plugins.spec |
| 16 | 16 | ||
| 17 | test: | 17 | test: |
| 18 | cd plugins; $(MAKE) test | 18 | cd plugins; $(MAKE) test |
| 19 | cd plugins-scripts; $(MAKE) test | 19 | cd plugins-scripts; $(MAKE) test |
| 20 | 20 | ||
| 21 | nagios-plugins.spec: nagios-plugins.spec.in | 21 | nagios-plugins.spec: nagios-plugins.spec.in |
| 22 | sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;" $? > $@ | 22 | sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;s/^%%{requires}$$//" $? > $@ |
| 23 | |||
| 24 | pkg/fedora/nagios-plugins.spec: nagios-plugins.spec.in | ||
| 25 | $(top_srcdir)/mkinstalldirs pkg/fedora | ||
| 26 | sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;/^# Requires$$/r $(top_srcdir)/pkg/fedora/requires" $? > $@ | ||
| 23 | 27 | ||
| 24 | # Solaris pkgmk | 28 | # Solaris pkgmk |
| 25 | BUILDDIR = build-solaris | 29 | BUILDDIR = build-solaris |
