X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=Makefile;h=6ebf6de531979c06c77f23026155b69ec5f9c876;hb=refs%2Fheads%2Fmaster;hp=781e42e914d81044743408891e8e1803551ebc53;hpb=8181228ad8c1a3b3b850552cb9c727bb019bbc0c;p=openssl-gost%2Fdebpkg.git diff --git a/Makefile b/Makefile index 781e42e..6ebf6de 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,7 @@ engine/README.md: # $(PKGNAME)_$(VERSION)-1_$(ARCH).deb: $(PKGNAME)-$(VERSION)/debian/changelog - cd $(PKGNAME)-$(VERSION) - debuild + cd $(PKGNAME)-$(VERSION); debuild # # This rule creates unpacked Debian source by copiing debian # subdirectory from this git module into unpacked distribution-agnostic @@ -43,8 +42,8 @@ $(PKGNAME)_$(VERSION)-1_$(ARCH).deb: $(PKGNAME)-$(VERSION)/debian/changelog # $(PKGNAME)-$(VERSION) if you want you changes survive invocation of # this rule # -$(PKGNAME)_$(VERSION)/debian/changelog: $(PKGNAME)_$(VERSION).orig.tar.bz2 $(wildcard debian/*) - rm -f $(PKGNAME)-$(VERSION) +$(PKGNAME)-$(VERSION)/debian/changelog: $(PKGNAME)_$(VERSION).orig.tar.bz2 $(wildcard debian/*) + rm -rf $(PKGNAME)-$(VERSION) tar xf $(PKGNAME)_$(VERSION).orig.tar.bz2 cp -r debian $(PKGNAME)-$(VERSION)/debian cd $(PKGNAME)-$(VERSION); dch -v $(VERSION)-1 "Build for $(ARCH)"