1 |
|
## Process this file with automake to produce Makefile.in |
2 |
|
SUBDIRS = src |
3 |
|
|
4 |
< |
# Requires automake 1.4 |
5 |
< |
AUTOMAKE_OPTIONS = 1.4 |
4 |
> |
# Requires automake 1.5 |
5 |
> |
AUTOMAKE_OPTIONS = foreign 1.5 |
6 |
> |
|
7 |
> |
# Manpages |
8 |
> |
man_MANS = cxmon.1 |
9 |
> |
|
10 |
> |
EXTRA_DIST = cxmon.1 |
11 |
> |
|
12 |
> |
dist-hook: cxmon.spec |
13 |
> |
cp cxmon.spec $(distdir) |
14 |
|
|
15 |
|
# Rule to build tar-gzipped distribution package |
16 |
|
$(PACKAGE)-$(VERSION).tar.gz: dist |
17 |
|
|
18 |
|
# Rule to build RPM distribution package |
19 |
|
rpm: $(PACKAGE)-$(VERSION).tar.gz |
20 |
< |
cp $(PACKAGE)-$(VERSRION).tar.gz /usr/src/redhat/SOURCES |
13 |
< |
rpm -ba mon.spec |
20 |
> |
rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz |