diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-10-24 15:18:22 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-10-24 15:18:22 +0200 |
commit | 342512ff43d967e5f88e24437b2be51b7e1bdb44 (patch) | |
tree | 88f5f0fe8fa4aa23f40231d38f337591f0c72253 | |
parent | 15d402d9a879c98cc0e249f01dda187008b2d338 (diff) |
add MANDIR/BINDIR; remove license install; fix VERSION call
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,4 +1,6 @@ -VERSION=`git describe | sed 's/^v//'` +VERSION:=$(shell git describe | sed 's/^v//') +MANDIR=/usr/share/man +BINDIR=/usr/bin all: fb.1 @@ -10,14 +12,12 @@ clean: rm -rf dist install: all - install -Dm755 fb $(DESTDIR)/usr/bin/fb - install -Dm644 fb.1 $(DESTDIR)/usr/share/man/man1/fb.1 - install -Dm644 COPYING $(DESTDIR)/usr/share/licenses/fb/COPYING + install -Dm755 fb $(DESTDIR)$(BINDIR)/fb + install -Dm644 fb.1 $(DESTDIR)$(MANDIR)/man1/fb.1 uninstall: - rm -f $(DESTDIR)/usr/bin/fb - rm -f $(DESTDIR)/usr/share/man/man1/fb.1 - rm -f $(DESTDIR)/usr/share/licenses/fb/COPYING + rm -f $(DESTDIR)$(BINDIR)/fb + rm -f $(DESTDIR)$(MANDIR)/man1/fb.1 dist: all mkdir -p dist/fb-$(VERSION) |