Makefile (1764:46da19f4079f) Makefile (1826:d0d76464f1a5)
1#!/usr/bin/make
2
3include ../../version
4
5DEFAULT_VERSION := $(NXT_VERSION)
6DEFAULT_RELEASE := 1
7
8VERSION ?= $(DEFAULT_VERSION)

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

222 cat ../../build/unit.deb-changelog | sed \
223 -e "s#%%CODENAME%%#$(CODENAME)#g" \
224 > debuild/$(SRCDIR)/debian/changelog
225endif
226
227debuild/unit_$(VERSION).orig.tar.gz: | debuild/$(SRCDIR)/debian
228 cd ../.. && tar -czf pkg/deb/debuild/$(SRCDIR).tar.gz \
229 --transform "s#^#$(SRCDIR)/#" \
1#!/usr/bin/make
2
3include ../../version
4
5DEFAULT_VERSION := $(NXT_VERSION)
6DEFAULT_RELEASE := 1
7
8VERSION ?= $(DEFAULT_VERSION)

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

222 cat ../../build/unit.deb-changelog | sed \
223 -e "s#%%CODENAME%%#$(CODENAME)#g" \
224 > debuild/$(SRCDIR)/debian/changelog
225endif
226
227debuild/unit_$(VERSION).orig.tar.gz: | debuild/$(SRCDIR)/debian
228 cd ../.. && tar -czf pkg/deb/debuild/$(SRCDIR).tar.gz \
229 --transform "s#^#$(SRCDIR)/#" \
230 LICENSE NOTICE CHANGES README configure auto src test version go
230 LICENSE NOTICE CHANGES README configure auto src test version go docs/man/unitd.8.in
231 mv debuild/$(SRCDIR).tar.gz debuild/unit_$(VERSION).orig.tar.gz
232 cd debuild && tar zxf unit_$(VERSION).orig.tar.gz
233
234unit: check-build-depends-unit debuild/unit_$(VERSION).orig.tar.gz debuild/$(SRCDIR)/debian/changelog
235 @echo "===> Building $@ package"
236 cd debuild/$(SRCDIR) && debuild -us -uc
237 mkdir -p debs
238 find debuild/ -maxdepth 1 -type f -exec cp {} debs/ \;

--- 104 unchanged lines hidden ---
231 mv debuild/$(SRCDIR).tar.gz debuild/unit_$(VERSION).orig.tar.gz
232 cd debuild && tar zxf unit_$(VERSION).orig.tar.gz
233
234unit: check-build-depends-unit debuild/unit_$(VERSION).orig.tar.gz debuild/$(SRCDIR)/debian/changelog
235 @echo "===> Building $@ package"
236 cd debuild/$(SRCDIR) && debuild -us -uc
237 mkdir -p debs
238 find debuild/ -maxdepth 1 -type f -exec cp {} debs/ \;

--- 104 unchanged lines hidden ---