File: Makefile

package info (click to toggle)
hunglish 1.11-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 344 kB
  • ctags: 6
  • sloc: sh: 298; makefile: 84
file content (34 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (2)
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

DESTDIR =

CONSOLE_DIR = $(DESTDIR)/usr/share/keymaps/i386/hunglish
XKB_DIR = $(DESTDIR)/etc/X11/xkb

M4 = m4

export DESTDIR CONSOLE_DIR XKB_DIR DOC_DIR
export M4

all:
	cd console; $(MAKE)

clean:
	cd console; $(MAKE) clean

install: all install-console install-xkb

install-console:
	cd console; $(MAKE) install

install-xkb:
	install -d -m755 $(XKB_DIR) 
	install -d -m755 $(XKB_DIR)/compat
	install -d -m755 $(XKB_DIR)/keymap
	install -d -m755 $(XKB_DIR)/symbols
	install -d -m755 $(XKB_DIR)/types
	install -m644 xkb/compat/hunglish $(XKB_DIR)/compat
	install -m644 xkb/keymap/hunglish $(XKB_DIR)/keymap
	install -m644 xkb/symbols/hunglish $(XKB_DIR)/symbols
	install -m644 xkb/types/hunglish $(XKB_DIR)/types

.PHONY: all install