diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-11 14:02:55 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-11 14:02:55 +0200 |
commit | 03ea23b8e70cac9649ef0ed9793ddb4baf24894a (patch) | |
tree | ec0d26066d319ee7205e1f474bf1f922d8f8fab5 /Makefile.am | |
parent | e8d7e063832c581aa7fedd5cacbbd21fd28af55a (diff) |
Add spec file and rp target.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 3db006e..5b8072b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,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.spec --define="%_topdir ${PWD}/rpmbuild" +# rpmbuild -bb miav.spec --define="%_topdir ${PWD}/rpmbuild" + + mv rpmbuild/RPMS/`arch`/miav-*.rpm . + |