mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
dpkg: Add support for debian.tar.gz archives
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7796 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
8
Makefile
8
Makefile
@@ -483,11 +483,15 @@ debian/changelog: debian/changelog.in
|
||||
sed 's/%{scst_version}/$(VERSION)-$(DEBIAN_REVISION)/' \
|
||||
<debian/changelog.in >debian/changelog
|
||||
|
||||
../scst_$(VERSION).orig.tar.gz: debian/changelog Makefile
|
||||
$(call make-scst-dist,z,gz,$(VERSION),cat) && \
|
||||
mv "scst-$(VERSION).tar.gz" "$@"
|
||||
|
||||
../scst_$(VERSION).orig.tar.xz: debian/changelog Makefile
|
||||
$(call make-scst-dist,J,xz,$(VERSION),cat) && \
|
||||
mv "scst-$(VERSION).tar.xz" "$@"
|
||||
|
||||
dpkg: ../scst_$(VERSION).orig.tar.xz
|
||||
dpkg: ../scst_$(VERSION).orig.tar.gz
|
||||
@if [ -z "$$DEBEMAIL" ]; then \
|
||||
echo "Error: \$$DEBEMAIL has not been set"; \
|
||||
false; \
|
||||
@@ -524,7 +528,7 @@ dpkg: ../scst_$(VERSION).orig.tar.xz
|
||||
debuild "$${buildopts[@]}" --lintian-opts --profile debian; \
|
||||
fi && \
|
||||
mkdir -p dpkg && \
|
||||
for f in "$${output_files[@]}" ../scst_$(VERSION).orig.tar.xz; do\
|
||||
for f in "$${output_files[@]}" ../scst_$(VERSION).orig.tar.[gx]z; do\
|
||||
mv $$f dpkg || true; \
|
||||
done && \
|
||||
echo "Output files:" && \
|
||||
|
||||
Reference in New Issue
Block a user