]> www.wagner.pp.ru Git - openssl-gost/debpkg.git/blobdiff - Makefile
Added manual pages to gostsum package
[openssl-gost/debpkg.git] / Makefile
index 781e42e914d81044743408891e8e1803551ebc53..6ebf6de531979c06c77f23026155b69ec5f9c876 100644 (file)
--- 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)"