Document deb target a little more. [ci skip]
This commit is contained in:
parent
e0651f51c3
commit
9f821ef0d6
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -131,7 +131,9 @@ test: localbuild
|
||||||
env LANG=en_US.utf-8 http_proxy="" $(PYTHON) -m pytest $(PYTESTOPTS) $(TESTOPTS) $(TESTS)
|
env LANG=en_US.utf-8 http_proxy="" $(PYTHON) -m pytest $(PYTESTOPTS) $(TESTOPTS) $(TESTS)
|
||||||
|
|
||||||
deb:
|
deb:
|
||||||
# build a debian package
|
# Build an official .deb package; only useful for Debian maintainers.
|
||||||
|
# To build a local .deb package, use:
|
||||||
|
# $ sudo apt-get build-dep dosage; apt-get source dosage; cd dosage-*; debuild binary
|
||||||
[ -f $(DEBORIGFILE) ] || cp dist/$(ARCHIVE_SOURCE) $(DEBORIGFILE)
|
[ -f $(DEBORIGFILE) ] || cp dist/$(ARCHIVE_SOURCE) $(DEBORIGFILE)
|
||||||
sed -i -e 's/VERSION_$(LAPPNAME):=.*/VERSION_$(LAPPNAME):=$(VERSION)/' $(DEBUILDDIR)/$(LAPPNAME).mak
|
sed -i -e 's/VERSION_$(LAPPNAME):=.*/VERSION_$(LAPPNAME):=$(VERSION)/' $(DEBUILDDIR)/$(LAPPNAME).mak
|
||||||
[ -d $(DEBPACKAGEDIR) ] || (cd $(DEBUILDDIR); \
|
[ -d $(DEBPACKAGEDIR) ] || (cd $(DEBUILDDIR); \
|
||||||
|
|
Loading…
Reference in a new issue