diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-21 22:26:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-21 22:26:14 +0200 |
commit | 8c6a4590e9002aae56109964f9fc9146531f7ff3 (patch) | |
tree | 315b6b51629a6945e896328a6f73702139e45079 | |
parent | df4e91761df9d1a663c628c5168e41b6ac7ce45f (diff) |
Add "make dist"
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -57,9 +57,17 @@ uninstall: rm -rf ${font_dir} rm -rf ${image_dir} +dist: + mkdir /tmp/feh-${VERSION} + git --work-tree=/tmp/feh-${VERSION} checkout -f + sed -i 's/^VERSION ?= .*$$/VERSION ?= ${VERSION}/' \ + /tmp/feh-${VERSION}/config.mk + tar -C /tmp -cjf ../feh-${VERSION}.tar.bz2 feh-${VERSION} + rm -r /tmp/feh-${VERSION} + clean: @${MAKE} -C src clean @${MAKE} -C man clean .PHONY: all test test-x11 install uninstall clean install-man install-doc \ - install-bin install-font install-img + install-bin install-font install-img dist |