blob: 7d03b4ab829ed02cea1501ba6249ccd526bb0528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
AUTOMAKE_OPTIONS = gnu
SUBDIRS = pixmaps tools src etc man
DISTDIRS = pixmaps tools src etc man
EXTRA_DIST = \
hugin/hugin.h \
hugin/hugin.hpp \
hugin/hugin.c \
hugin/hugin_util.h \
hugin/hugin_filter.h \
hugin/hugin_syslog.h \
hugin/hugin_syslog.c
rpm:
@echo "## Creating miav.rpm"
@echo "# Delete old rpmbuild (if one exists):"
rm -Rf rpmbuild
@echo "# Create rpmbuild directories:"
mkdir -p rpmbuild/{RPMS,BUILD,SOURCES}
make dist
cp miav-0.4.0.tar.gz rpmbuild/SOURCES
rpmbuild -ba miav-client.spec --define="%_topdir ${PWD}/rpmbuild"
rpmbuild -ba miav-server.spec --define="%_topdir ${PWD}/rpmbuild"
mv rpmbuild/RPMS/*/miav-*.rpm .
|