]> git.proxmox.com Git - iproute2.git/blobdiff - Makefile
d/control: change metadata
[iproute2.git] / Makefile
index 82e80fab6910d6682b955a14bb244312608c6fcb..041c16ae22071f0753b78f26eabfe345c7ad5ac3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 DEBS=                                                  \
        iproute2-doc_${VERSION}-${PKGREL}_all.deb       \
+       iproute2-dbgsym_${VERSION}-${PKGREL}_all.deb    \
        iproute2_${VERSION}-${PKGREL}_${ARCH}.deb
 
 all: ${DEBS}
@@ -20,21 +21,17 @@ submodule:
 
 .PHONY: deb
 ${DEBS} deb: | submodule
-       rm -f *.deb
        rm -rf $(BUILDDIR)
-       mkdir $(BUILDDIR)
-       cp -a $(SRCDIR)/* $(BUILDDIR)/
-       cp -R debian $(BUILDDIR)/
+       cp -a $(SRCDIR) $(BUILDDIR)
+       cp -a debian $(BUILDDIR)/debian
        cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
 
 .PHONY: upload
 upload: ${DEBS}
        tar cf - ${DEBS} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
 
-.PHONY: distclean
+.PHONY: clean distclean
 distclean: clean
-
-.PHONY: clean
 clean:
        rm -rf ${BUILDDIR} *.deb *.changes *.dsc *.buildinfo