diff options
author | kraxel <kraxel> | 2008-06-09 14:56:36 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2008-06-09 14:56:36 +0000 |
commit | 8dae03a9fefea29e94a8e97f461260522274164a (patch) | |
tree | 6d64ea89536eb6a0d7a2f0a71a6d9f9bb31ad397 /mk/Variables.mk | |
parent | adbf9e28624a774ba5e488bf7a231dcfb5e2aff6 (diff) | |
download | fbida-8dae03a9fefea29e94a8e97f461260522274164a.tar.gz |
- fix build error.
- build system updates.
- bump version for release.
Diffstat (limited to 'mk/Variables.mk')
-rw-r--r-- | mk/Variables.mk | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mk/Variables.mk b/mk/Variables.mk index 69486f3..99f787c 100644 --- a/mk/Variables.mk +++ b/mk/Variables.mk @@ -6,8 +6,12 @@ DESTDIR = srcdir ?= . prefix ?= /usr/local bindir = $(DESTDIR)$(prefix)/bin -mandir = $(DESTDIR)$(prefix)/share/man -locdir = $(DESTDIR)$(prefix)/share/locale +sbindir = $(DESTDIR)$(prefix)/sbin +libdir = $(DESTDIR)$(prefix)/$(LIB) +shrdir = $(DESTDIR)$(prefix)/share +mandir = $(shrdir)/man +locdir = $(shrdir)/locale +appdir = $(shrdir)/applications # package + version empty := @@ -17,13 +21,16 @@ ifneq ($(wildcard $(srcdir)/VERSION),) else VERSION := 42 endif +RELTAG := v$(subst .,_,$(VERSION)) # programs CC ?= gcc CXX ?= g++ MOC ?= $(if $(QTDIR),$(QTDIR)/bin/moc,moc) + +STRIP ?= -s INSTALL ?= install -INSTALL_BINARY := $(INSTALL) -s +INSTALL_BINARY := $(INSTALL) $(STRIP) INSTALL_SCRIPT := $(INSTALL) INSTALL_DATA := $(INSTALL) -m 644 INSTALL_DIR := $(INSTALL) -d |