Makefile (953:00d8049418cf) Makefile (957:a7af31b69692)
1#!/usr/bin/make
2
3include ../../version
4
5DEFAULT_RELEASE := 1
6
7VERSION ?= $(NXT_VERSION)
8RELEASE ?= $(DEFAULT_RELEASE)

--- 156 unchanged lines hidden (view full) ---

165 >> rpmbuild/SPECS/unit.spec
166else
167 cat ../../build/unit.rpm-changelog >> rpmbuild/SPECS/unit.spec
168endif
169
170rpmbuild/SOURCES/unit-$(VERSION).tar.gz:
171 cd ../.. && tar -czf pkg/rpm/rpmbuild/SOURCES/unit-$(VERSION).tar.gz \
172 --transform "s#^#unit-$(VERSION)/#" \
1#!/usr/bin/make
2
3include ../../version
4
5DEFAULT_RELEASE := 1
6
7VERSION ?= $(NXT_VERSION)
8RELEASE ?= $(DEFAULT_RELEASE)

--- 156 unchanged lines hidden (view full) ---

165 >> rpmbuild/SPECS/unit.spec
166else
167 cat ../../build/unit.rpm-changelog >> rpmbuild/SPECS/unit.spec
168endif
169
170rpmbuild/SOURCES/unit-$(VERSION).tar.gz:
171 cd ../.. && tar -czf pkg/rpm/rpmbuild/SOURCES/unit-$(VERSION).tar.gz \
172 --transform "s#^#unit-$(VERSION)/#" \
173 LICENSE NOTICE CHANGES README configure auto src test
173 LICENSE NOTICE CHANGES README configure auto src test version
174
175unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
176 @echo "===> Building $@ package" ; \
177 rpmbuild -D "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/unit.spec && \
178 ln -s rpmbuild/BUILD/$@-$(VERSION)/build $@
179
180rpmlint:
181 find rpmbuild/ -name "*.rpm" -print -exec rpmlint {} \;

--- 74 unchanged lines hidden ---
174
175unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
176 @echo "===> Building $@ package" ; \
177 rpmbuild -D "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/unit.spec && \
178 ln -s rpmbuild/BUILD/$@-$(VERSION)/build $@
179
180rpmlint:
181 find rpmbuild/ -name "*.rpm" -print -exec rpmlint {} \;

--- 74 unchanged lines hidden ---