-
Notifications
You must be signed in to change notification settings - Fork 0
/
xdgbasedir.mk
37 lines (33 loc) · 983 Bytes
/
xdgbasedir.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# osx-xdg-basedir $Id$
UNAME_S ?= $(shell uname -s)
UNAME_S != uname -s
#
PREFIX ?= ~
#
sinclude $(UNAME_S).xdg.mk
#
prefix ?= $(PREFIX)/.local# ~/Library
XDG_DATA_HOME ?= $(prefix)/share# ~/Library/Application\ Support
XDG_CONFIG_HOME ?= $(PREFIX)/.config# ~/Library/Preferences
XDG_STATE_HOME ?= $(PREFIX)/.savedState# ~/Library/Saved\ Application\ State
#XDG_RUNTIME_DIR ?= $TMPDIR
datarootdir ?= $(XDG_DATA_HOME)
sysconfdir ?= $(XDG_CONFIG_HOME)
exec_prefix ?= $(prefix)
includerootdir ?= $(prefix)/include
docrootdir ?= $(datarootdir)/doc
librootdir ?= $(exec_prefix)/lib
bindir ?= $(exec_prefix)/bin
libdir ?= $(librootdir)/$(pkgname)
datadir ?= $(datarootdir)/$(pkgname)
includedir ?= $(includerootdir)/$(pkgname)
docdir ?= $(docrootdir)/$(pkgname)
infodir ?= $(datarootdir)/info
mandir ?= $(datarootdir)/man
#man1dir ?= $(mandir)/man1
#
#sharedstatedir ?= $(prefix)/com
#localstatedir ?= $(prefix)/var
#runstatedir ?= $(localstatedir)/run
#
oldincludedir ?= /usr/include