diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-06-25 10:51:15 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-06-25 10:51:15 +0000 |
commit | 2e8d51ea7f10298cd02d10127ec4abcd2563af9f (patch) | |
tree | 4fc87e3953d38b318de554d372202cded04c6c83 /Makefile | |
parent | ChangeLog (diff) | |
download | ebuild-mode-2e8d51ea7f10298cd02d10127ec4abcd2563af9f.tar.gz ebuild-mode-2e8d51ea7f10298cd02d10127ec4abcd2563af9f.tar.bz2 ebuild-mode-2e8d51ea7f10298cd02d10127ec4abcd2563af9f.zip |
"make dist" packs distfile as tarball.
svn path=/emacs-extra/gentoo-syntax/; revision=479
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,15 +3,16 @@ PV = $(shell sed '/^[ \t]*\* .*[Vv]ersion/!d;s/[^0-9.]*\([0-9.]*\).*/\1/;q' \ ChangeLog) P = $(PN)-$(PV) -DISTFILE = gentoo-syntax.el +DISTFILES = gentoo-syntax.el ChangeLog .PHONY: all dist clean all: -dist: $(DISTFILE) - bzip2 -c $< >$(P).el.bz2 +dist: $(DISTFILES) + tar -cjf $(P).tar.bz2 --transform='s%^%$(P)/%' $^ + tar -tjvf $(P).tar.bz2 clean: -rm -f *~ *.tmp *.gz *.bz2 |