blob: 7bbed3a535ece4eb8d8a0965758d12ed48875335 (
plain)
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
|
# Part 0
# load common stuff
TOPDIR = ..
include $(TOPDIR)/Makefile.common
# backslashify slashes to avoid problems with sed
BPREFIX := $(subst /,\/,$(PREFIX))
CFG := $(wildcard *.cfg)
RES := $(CFG:%.cfg=%)
all: $(RES)
%: %.cfg
sed 's/PREFIX/$(BPREFIX)/g' < $< > $@
clean:
$(RM) $(RES) *~
install:
install -d $(PREFIX)/share/fbxkb
# install -m 644 $(RES) $(PREFIX)/share/fbxkb
install -d $(PREFIX)/share/fbxkb/images
install -m 644 *.png $(PREFIX)/share/fbxkb/images/
uninstall:
rm -rf $(PREFIX)/share/fbxkb
|