@echo $(DEB)
$(ORIG_SRC_TAR): $(BUILDDIR)
- tar czf $(ORIG_SRC_TAR) -C $(BUILDDIR) .
+ tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
.PHONY: dsc
dsc: $(DSC)
cd $(BUILDDIR); dpkg-buildpackage -S -uc -us -d
lintian $(DSC)
+sbuild: $(DSC)
+ sbuild $(DSC)
+
.PHONY: submodule
submodule:
test -f "$(SRCDIR)/package.json" || git submodule update --init
.PHONY: clean
clean:
- rm -rf *~ debian/*~ *.deb $(BUILDDIR) *.changes *.dsc *.buildinfo $(PACKAGE)*.tar.gz
+ rm -rf $(PACKAGE)-[0-9]*/ $() *.deb *.dsc $(PACKAGE)*.tar.[gx]z *.changes *.dsc *.buildinfo *.build
.PHONY: dinstall
dinstall: deb