Douglas William Thrift 14 years ago
parent
commit
5847059490
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GNUmakefile

+ 1 - 1
GNUmakefile

@@ -37,7 +37,7 @@ man1/%.1: % %.1.in
 	help2man -I $*.1.in -Nn '$(shell sed -e '$$ s|^// ||p;d' $<.cpp)' -o $@ $(shell realpath $<)
 
 dist: man
-	git archive --prefix=$(TARNAME)/ -v HEAD^{tree} | xz -vz - > $(TARNAME).tar.xz
+	bsdtar -cf $(TARNAME).tar.bz2 -js '/^\./$(TARNAME)/' -vX .gitignore --exclude='.git*' .
 
 install: all
 	install -dv $(DESTDIR)$(BINDIR) $(DESTDIR)$(MAN1DIR)