comparison Makefile @ 27210:9b86d29867a5

builddeb: add --distid option to specify Distributor ID This allows builddeb to handle distributions that are not Debian. Distributor ID is reported by lsb_release --id, and in case of builddeb it's usually Debian or Ubuntu.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 25 Nov 2015 15:15:03 +0800
parents 7fbab10f812f
children ef9301ce6046
comparison
equal deleted inserted replaced
27209:7fbab10f812f 27210:9b86d29867a5
160 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg 160 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg
161 rm -rf dist/mercurial-*.mpkg 161 rm -rf dist/mercurial-*.mpkg
162 162
163 deb: 163 deb:
164 mkdir -p packages/debian-unknown 164 mkdir -p packages/debian-unknown
165 contrib/builddeb --codename unknown 165 contrib/builddeb --distid debian --codename unknown
166 166
167 docker-debian-jessie: 167 docker-debian-jessie:
168 mkdir -p packages/debian-jessie 168 mkdir -p packages/debian-jessie
169 contrib/dockerdeb jessie 169 contrib/dockerdeb debian jessie
170 170
171 fedora20: 171 fedora20:
172 mkdir -p packages/fedora20 172 mkdir -p packages/fedora20
173 contrib/buildrpm 173 contrib/buildrpm
174 cp rpmbuild/RPMS/*/* packages/fedora20 174 cp rpmbuild/RPMS/*/* packages/fedora20